Skip to content

Commit

Permalink
Rollup merge of rust-lang#103415 - compiler-errors:tiny-perf-increase…
Browse files Browse the repository at this point in the history
…-on-diagnostic, r=TaKO8Ki

filter candidates in pick probe for diagnostics

Fixes rust-lang#103411, though also fine with closing this PR if my opinion (rust-lang#103411 (comment)) is shared that this doesn't need to  be fixed.

```
~/rust3$ time rustc +nightly ~/test.rs 2>/dev/null

real    0m4.853s
user    0m4.837s
sys     0m0.016s

~/rust3$ time rustc +rust3 ~/test.rs 2>/dev/null

real    0m0.193s
user    0m0.169s
sys     0m0.024s
```

Also fixes rust-lang#103427.
  • Loading branch information
GuillaumeGomez authored Oct 29, 2022
2 parents 20106c5 + a111234 commit 637b71b
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 637b71b

Please sign in to comment.