Commit 3d3c966
committed
Remove
`rustc_hir_id` is a very small crate containing some basic HIR types
(e.g. `HirId`) so that other crates can use them without depending on
`rustc_hir` (which is a much bigger crate).
However, `rustc_span` already has a module called `def_id` which also
contains some basic HIR types (e.g. `DefId`). So there's not much point
also have `rustc_hir_id`. This commit moves the contents of
`rustc_hir_id` into that module.rustc_hir_id crate.1 parent 46db830 commit 3d3c966
36 files changed
Lines changed: 214 additions & 269 deletions
File tree
- compiler
- rustc_hir_id
- src
- rustc_hir_pretty/src
- rustc_hir
- src
- rustc_lint_defs
- src
- rustc_middle/src
- query
- ty
- rustc_span/src
- src
- bootstrap/src/core/builder
- cli_paths/snapshots
- tools/clippy
- clippy_lints/src
- cargo
- methods
- ptr
- clippy_utils/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3956 | 3956 | | |
3957 | 3957 | | |
3958 | 3958 | | |
3959 | | - | |
3960 | 3959 | | |
3961 | 3960 | | |
3962 | 3961 | | |
| |||
3993 | 3992 | | |
3994 | 3993 | | |
3995 | 3994 | | |
3996 | | - | |
3997 | | - | |
3998 | | - | |
3999 | | - | |
4000 | | - | |
4001 | | - | |
4002 | | - | |
4003 | | - | |
4004 | | - | |
4005 | | - | |
4006 | | - | |
4007 | 3995 | | |
4008 | 3996 | | |
4009 | 3997 | | |
| |||
4186 | 4174 | | |
4187 | 4175 | | |
4188 | 4176 | | |
4189 | | - | |
4190 | 4177 | | |
4191 | 4178 | | |
4192 | 4179 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
512 | 512 | | |
513 | 513 | | |
514 | 514 | | |
515 | | - | |
| 515 | + | |
516 | 516 | | |
517 | 517 | | |
518 | 518 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
| 36 | + | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
| |||
4911 | 4910 | | |
4912 | 4911 | | |
4913 | 4912 | | |
4914 | | - | |
| 4913 | + | |
4915 | 4914 | | |
4916 | 4915 | | |
4917 | 4916 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
26 | 30 | | |
27 | | - | |
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
This file was deleted.
This file was deleted.
0 commit comments