-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Commit 07b5c6b
authored
Rollup merge of #103415 - compiler-errors:tiny-perf-increase-on-diagnostic, r=TaKO8Ki
filter candidates in pick probe for diagnostics
Fixes #103411, though also fine with closing this PR if my opinion (#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 #103427.2 files changed
+32
-22
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
530 | 530 |
| |
531 | 531 |
| |
532 | 532 |
| |
533 | - | ||
534 | - | ||
535 | - | ||
536 | - | ||
537 | - | ||
538 | - | ||
539 | - | ||
540 | - | ||
541 | - | ||
542 | - | ||
543 | - | ||
544 | - | ||
545 | - | ||
546 | - | ||
547 | - | ||
548 | - | ||
549 | - | ||
550 | - | ||
533 | + | ||
534 | + | ||
535 | + | ||
536 | + | ||
537 | + | ||
538 | + | ||
539 | + | ||
540 | + | ||
541 | + | ||
542 | + | ||
543 | + | ||
544 | + | ||
545 | + | ||
546 | + | ||
547 | + | ||
548 | + | ||
549 | + | ||
550 | + | ||
551 | + | ||
552 | + | ||
553 | + | ||
554 | + | ||
555 | + | ||
551 | 556 |
| |
552 | 557 |
| |
553 | 558 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
252 | 252 |
| |
253 | 253 |
| |
254 | 254 |
| |
255 | - | ||
255 | + | ||
256 | 256 |
| |
257 | 257 |
| |
258 | 258 |
| |
259 | 259 |
| |
260 | 260 |
| |
261 | 261 |
| |
262 | 262 |
| |
263 | + | ||
263 | 264 |
| |
264 | 265 |
| |
265 | 266 |
| |
| |||
271 | 272 |
| |
272 | 273 |
| |
273 | 274 |
| |
274 | - | ||
275 | + | ||
275 | 276 |
| |
276 | 277 |
| |
277 | 278 |
| |
| |||
966 | 967 |
| |
967 | 968 |
| |
968 | 969 |
| |
969 | - | ||
970 | + | ||
971 | + | ||
972 | + | ||
973 | + | ||
970 | 974 |
| |
971 | 975 |
| |
972 | 976 |
| |
973 | 977 |
| |
974 | 978 |
| |
979 | + | ||
975 | 980 |
| |
976 | 981 |
| |
977 | 982 |
| |
| |||
1689 | 1694 |
| |
1690 | 1695 |
| |
1691 | 1696 |
| |
1692 | - | ||
1697 | + | ||
1693 | 1698 |
| |
1694 | 1699 |
| |
1695 | 1700 |
| |
|
0 commit comments