This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit e4f42f2
authored
Unrolled build for rust-lang#122513
Rollup merge of rust-lang#122513 - petrochenkov:somehir4, r=fmease
hir: Remove `opt_local_def_id_to_hir_id` and `opt_hir_node_by_def_id`
Also replace a few `hir_node()` calls with `hir_node_by_def_id()`.
Follow up to rust-lang#120943.File tree
37 files changed
+135
-199
lines changed- compiler
- rustc_borrowck/src/diagnostics
- rustc_hir_analysis/src
- check
- collect
- type_of
- rustc_hir_typeck/src
- fn_ctxt
- rustc_infer/src/infer/error_reporting
- nice_region_error
- rustc_metadata/src/rmeta
- rustc_middle/src
- hir/map
- ty
- rustc_passes/src
- rustc_trait_selection/src/traits/error_reporting
- rustc_ty_utils/src
- src
- librustdoc
- clean
- passes
- tools/clippy
- clippy_lints/src
- functions
- types
- clippy_utils/src
37 files changed
+135
-199
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
422 | 422 | | |
423 | 423 | | |
424 | 424 | | |
425 | | - | |
426 | | - | |
| 425 | + | |
427 | 426 | | |
428 | 427 | | |
429 | 428 | | |
| |||
Lines changed: 3 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
672 | 672 | | |
673 | 673 | | |
674 | 674 | | |
675 | | - | |
676 | | - | |
677 | | - | |
678 | | - | |
679 | | - | |
| 675 | + | |
| 676 | + | |
680 | 677 | | |
681 | 678 | | |
682 | 679 | | |
| |||
1475 | 1472 | | |
1476 | 1473 | | |
1477 | 1474 | | |
1478 | | - | |
1479 | | - | |
1480 | 1475 | | |
1481 | 1476 | | |
1482 | | - | |
| 1477 | + | |
1483 | 1478 | | |
1484 | 1479 | | |
1485 | 1480 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
| 45 | + | |
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
| |||
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
60 | | - | |
61 | | - | |
| 59 | + | |
62 | 60 | | |
63 | 61 | | |
64 | 62 | | |
| |||
79 | 77 | | |
80 | 78 | | |
81 | 79 | | |
82 | | - | |
83 | | - | |
| 80 | + | |
84 | 81 | | |
85 | 82 | | |
86 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1969 | 1969 | | |
1970 | 1970 | | |
1971 | 1971 | | |
1972 | | - | |
1973 | 1972 | | |
1974 | 1973 | | |
1975 | | - | |
1976 | | - | |
1977 | | - | |
1978 | | - | |
| 1974 | + | |
| 1975 | + | |
1979 | 1976 | | |
1980 | 1977 | | |
1981 | 1978 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
609 | 609 | | |
610 | 610 | | |
611 | 611 | | |
612 | | - | |
613 | | - | |
614 | | - | |
615 | | - | |
| 612 | + | |
| 613 | + | |
616 | 614 | | |
617 | 615 | | |
618 | 616 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
374 | | - | |
375 | | - | |
| 374 | + | |
376 | 375 | | |
377 | 376 | | |
378 | | - | |
| 377 | + | |
379 | 378 | | |
380 | 379 | | |
381 | 380 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
| 237 | + | |
| 238 | + | |
242 | 239 | | |
243 | 240 | | |
244 | 241 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
890 | 890 | | |
891 | 891 | | |
892 | 892 | | |
893 | | - | |
894 | | - | |
895 | | - | |
896 | | - | |
897 | | - | |
898 | | - | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
899 | 897 | | |
900 | 898 | | |
901 | 899 | | |
902 | | - | |
903 | | - | |
| 900 | + | |
| 901 | + | |
904 | 902 | | |
905 | 903 | | |
906 | 904 | | |
907 | | - | |
| 905 | + | |
908 | 906 | | |
909 | 907 | | |
910 | 908 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2172 | 2172 | | |
2173 | 2173 | | |
2174 | 2174 | | |
2175 | | - | |
2176 | | - | |
2177 | | - | |
2178 | | - | |
2179 | | - | |
2180 | | - | |
2181 | | - | |
2182 | | - | |
2183 | | - | |
2184 | | - | |
| 2175 | + | |
| 2176 | + | |
| 2177 | + | |
| 2178 | + | |
| 2179 | + | |
2185 | 2180 | | |
2186 | 2181 | | |
2187 | 2182 | | |
| |||
0 commit comments