Repository navigation
Commit ba87438
authored
Rollup merge of #162628 - Jamesbarford:chore/move-const-pt1, r=lcnr
Move `Const` from `rustc_middle` to `rustc_type_ir`
Split by commit;
- Firstly move the type and methods
- From `I::Const` -> `Const<I>`
- Import `ConstExt` in all places that require the extension trait methods in compiler
- Import `ConstExt` in all places that require the extension trait methods in clippy
r? @lcnr130 files changed
Lines changed: 556 additions & 518 deletions
File tree
- compiler
- rustc_borrowck/src/type_check
- rustc_codegen_cranelift/src
- debuginfo
- intrinsics
- rustc_codegen_gcc/src/intrinsic
- rustc_codegen_llvm/src
- debuginfo
- rustc_codegen_ssa/src
- debuginfo
- mir
- rustc_const_eval/src
- const_eval
- interpret
- intrinsics
- rustc_hir_analysis/src
- check
- hir_ty_lowering
- rustc_hir_typeck/src
- fn_ctxt
- rustc_lint/src
- unused
- rustc_middle/src
- mir
- ty
- consts
- context
- inhabitedness
- print
- rustc_mir_build/src
- builder
- expr
- matches
- thir
- pattern
- rustc_mir_dataflow/src/move_paths
- rustc_mir_transform/src
- coroutine
- rustc_next_trait_solver/src
- canonical
- solve
- assembly
- eval_ctxt
- rustc_pattern_analysis/src
- rustc_public_bridge/src/context
- rustc_sanitizers/src/cfi/typeid/itanium_cxx_abi
- rustc_symbol_mangling/src
- rustc_trait_selection/src
- error_reporting
- infer
- traits
- traits
- query
- rustc_transmute/src
- rustc_ty_utils/src
- rustc_type_ir/src
- intern
- relate
- solve
- sty
- src/tools/clippy
- clippy_lints/src
- loops
- matches
- methods
- clippy_utils/src
- ty
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
0 commit comments