Commit 2ca9b2f
authored
Rollup merge of #157419 - khyperia:term_kind_rs, r=BoxyUwU
move rustc_type_ir Term things to term_kind.rs
- `TyKind`, `AliasTy`, and `AliasTyKind` live in `ty_kind.rs`
- `ConstKind`, [`UnevaluatedConst`, and `UnevaluatedConstKind`](rust-lang/project-const-generics#115) live in `const_kind.rs`
- `TermKind`, `AliasTerm`, and `AliasTermKind` live in... `generic_arg.rs` and `predicate.rs` ???
create a new file, `term_kind.rs`, that holds `TermKind`, `AliasTerm`, and `AliasTermKind`
(note that `Ty`, `Const`, and `Term` live in `rustc_middle`, not `rustc_type_ir`)5 files changed
Lines changed: 379 additions & 369 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
| 85 | + | |
84 | 86 | | |
85 | 87 | | |
86 | 88 | | |
| |||
0 commit comments