File tree Expand file tree Collapse file tree 6 files changed +4
-3
lines changed
rustc_const_eval/src/transform Expand file tree Collapse file tree 6 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -4252,6 +4252,7 @@ dependencies = [
4252
4252
" rustc_fluent_macro" ,
4253
4253
" rustc_hir" ,
4254
4254
" rustc_index" ,
4255
+ " rustc_infer" ,
4255
4256
" rustc_macros" ,
4256
4257
" rustc_middle" ,
4257
4258
" rustc_mir_build" ,
Original file line number Diff line number Diff line change 1
1
pub mod check_consts;
2
- pub mod validate;
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ rustc_errors = { path = "../rustc_errors" }
16
16
rustc_fluent_macro = { path = " ../rustc_fluent_macro" }
17
17
rustc_hir = { path = " ../rustc_hir" }
18
18
rustc_index = { path = " ../rustc_index" }
19
+ rustc_infer = { path = " ../rustc_infer" }
19
20
rustc_macros = { path = " ../rustc_macros" }
20
21
rustc_middle = { path = " ../rustc_middle" }
21
22
rustc_mir_build = { path = " ../rustc_mir_build" }
Original file line number Diff line number Diff line change 1
1
//! Inlining pass for MIR functions
2
2
use crate :: deref_separator:: deref_finder;
3
3
use rustc_attr:: InlineAttr ;
4
- use rustc_const_eval:: transform:: validate:: validate_types;
5
4
use rustc_hir:: def:: DefKind ;
6
5
use rustc_hir:: def_id:: DefId ;
7
6
use rustc_index:: bit_set:: BitSet ;
@@ -21,6 +20,7 @@ use rustc_target::spec::abi::Abi;
21
20
use crate :: cost_checker:: CostChecker ;
22
21
use crate :: simplify:: simplify_cfg;
23
22
use crate :: util;
23
+ use crate :: validate:: validate_types;
24
24
use std:: iter;
25
25
use std:: ops:: { Range , RangeFrom } ;
26
26
Original file line number Diff line number Diff line change @@ -109,9 +109,9 @@ mod simplify_comparison_integral;
109
109
mod sroa;
110
110
mod unreachable_enum_branching;
111
111
mod unreachable_prop;
112
+ mod validate;
112
113
113
114
use rustc_const_eval:: transform:: check_consts:: { self , ConstCx } ;
114
- use rustc_const_eval:: transform:: validate;
115
115
use rustc_mir_dataflow:: rustc_peek;
116
116
117
117
rustc_fluent_macro:: fluent_messages! { "../messages.ftl" }
File renamed without changes.
You can’t perform that action at this time.
0 commit comments