This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit f86f7ad
committed
Move some
The end goal is to eliminate `Map` altogether.
I added a `hir_` prefix to all of them, that seemed simplest. The
exceptions are `module_items` which became `hir_module_free_items` because
there was already a `hir_module_items`, and `items` which became
`hir_free_items` for consistency with `hir_module_free_items`.Map methods onto TyCtxt.1 parent cd1d84c commit f86f7ad
File tree
197 files changed
+465
-476
lines changed- compiler
- rustc_ast_lowering/src
- rustc_borrowck/src/diagnostics
- rustc_codegen_cranelift/src
- driver
- rustc_codegen_ssa/src
- rustc_driver_impl/src
- rustc_hir_analysis/src
- check
- compare_impl_item
- coherence
- collect
- errors
- hir_ty_lowering
- outlives
- rustc_hir_typeck/src
- fn_ctxt
- method
- rustc_interface/src
- rustc_lint/src
- rustc_metadata/src
- rmeta
- rustc_middle/src
- hir
- ty
- print
- rustc_mir_build/src
- thir/pattern
- rustc_mir_transform/src/coverage
- rustc_monomorphize/src
- rustc_passes/src
- rustc_privacy/src
- rustc_trait_selection/src
- error_reporting
- infer
- nice_region_error
- traits
- errors
- traits
- rustc_ty_utils/src
- src
- doc/rustc-dev-guide/examples
- librustdoc
- clean
- json
- passes
- tools/clippy
- clippy_lints/src
- attrs
- doc
- functions
- loops
- methods
- types
- unit_types
- utils
- internal_lints
- clippy_utils/src
- tests/ui/author
- tests/ui-fulldeps
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
197 files changed
+465
-476
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
407 | 407 | | |
408 | 408 | | |
409 | 409 | | |
410 | | - | |
| 410 | + | |
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
| |||
497 | 497 | | |
498 | 498 | | |
499 | 499 | | |
500 | | - | |
| 500 | + | |
501 | 501 | | |
502 | 502 | | |
503 | 503 | | |
| |||
Lines changed: 7 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1437 | 1437 | | |
1438 | 1438 | | |
1439 | 1439 | | |
1440 | | - | |
| 1440 | + | |
1441 | 1441 | | |
1442 | 1442 | | |
1443 | 1443 | | |
| |||
1889 | 1889 | | |
1890 | 1890 | | |
1891 | 1891 | | |
1892 | | - | |
1893 | 1892 | | |
1894 | 1893 | | |
1895 | 1894 | | |
| |||
1917 | 1916 | | |
1918 | 1917 | | |
1919 | 1918 | | |
1920 | | - | |
| 1919 | + | |
1921 | 1920 | | |
1922 | 1921 | | |
1923 | 1922 | | |
| |||
2106 | 2105 | | |
2107 | 2106 | | |
2108 | 2107 | | |
2109 | | - | |
| 2108 | + | |
2110 | 2109 | | |
2111 | 2110 | | |
2112 | 2111 | | |
| |||
2258 | 2257 | | |
2259 | 2258 | | |
2260 | 2259 | | |
2261 | | - | |
2262 | 2260 | | |
2263 | 2261 | | |
2264 | 2262 | | |
| |||
2346 | 2344 | | |
2347 | 2345 | | |
2348 | 2346 | | |
2349 | | - | |
| 2347 | + | |
2350 | 2348 | | |
2351 | 2349 | | |
2352 | 2350 | | |
| |||
2454 | 2452 | | |
2455 | 2453 | | |
2456 | 2454 | | |
2457 | | - | |
| 2455 | + | |
2458 | 2456 | | |
2459 | 2457 | | |
2460 | 2458 | | |
| |||
2558 | 2556 | | |
2559 | 2557 | | |
2560 | 2558 | | |
2561 | | - | |
| 2559 | + | |
2562 | 2560 | | |
2563 | 2561 | | |
2564 | 2562 | | |
| |||
3211 | 3209 | | |
3212 | 3210 | | |
3213 | 3211 | | |
3214 | | - | |
| 3212 | + | |
3215 | 3213 | | |
3216 | 3214 | | |
3217 | 3215 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
| 311 | + | |
312 | 312 | | |
313 | | - | |
| 313 | + | |
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1220 | 1220 | | |
1221 | 1221 | | |
1222 | 1222 | | |
1223 | | - | |
| 1223 | + | |
1224 | 1224 | | |
1225 | 1225 | | |
1226 | 1226 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
350 | | - | |
| 350 | + | |
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
| |||
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
360 | | - | |
| 360 | + | |
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
| |||
Lines changed: 10 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
936 | 936 | | |
937 | 937 | | |
938 | 938 | | |
939 | | - | |
| 939 | + | |
| 940 | + | |
940 | 941 | | |
941 | | - | |
942 | | - | |
943 | | - | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
944 | 945 | | |
945 | 946 | | |
946 | 947 | | |
| |||
951 | 952 | | |
952 | 953 | | |
953 | 954 | | |
954 | | - | |
| 955 | + | |
955 | 956 | | |
956 | 957 | | |
957 | 958 | | |
| |||
980 | 981 | | |
981 | 982 | | |
982 | 983 | | |
983 | | - | |
| 984 | + | |
984 | 985 | | |
985 | 986 | | |
986 | 987 | | |
| |||
1022 | 1023 | | |
1023 | 1024 | | |
1024 | 1025 | | |
1025 | | - | |
| 1026 | + | |
1026 | 1027 | | |
1027 | 1028 | | |
1028 | 1029 | | |
| |||
1050 | 1051 | | |
1051 | 1052 | | |
1052 | 1053 | | |
1053 | | - | |
1054 | 1054 | | |
1055 | | - | |
| 1055 | + | |
| 1056 | + | |
1056 | 1057 | | |
1057 | 1058 | | |
1058 | 1059 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
| 208 | + | |
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
223 | 220 | | |
224 | 221 | | |
225 | 222 | | |
| |||
240 | 237 | | |
241 | 238 | | |
242 | 239 | | |
243 | | - | |
| 240 | + | |
244 | 241 | | |
245 | 242 | | |
246 | 243 | | |
| |||
256 | 253 | | |
257 | 254 | | |
258 | 255 | | |
259 | | - | |
| 256 | + | |
260 | 257 | | |
261 | 258 | | |
262 | 259 | | |
| |||
1144 | 1141 | | |
1145 | 1142 | | |
1146 | 1143 | | |
1147 | | - | |
| 1144 | + | |
1148 | 1145 | | |
1149 | 1146 | | |
1150 | 1147 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
0 commit comments