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 = [
42524252 " rustc_fluent_macro" ,
42534253 " rustc_hir" ,
42544254 " rustc_index" ,
4255+ " rustc_infer" ,
42554256 " rustc_macros" ,
42564257 " rustc_middle" ,
42574258 " rustc_mir_build" ,
Original file line number Diff line number Diff line change 11pub 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" }
1616rustc_fluent_macro = { path = " ../rustc_fluent_macro" }
1717rustc_hir = { path = " ../rustc_hir" }
1818rustc_index = { path = " ../rustc_index" }
19+ rustc_infer = { path = " ../rustc_infer" }
1920rustc_macros = { path = " ../rustc_macros" }
2021rustc_middle = { path = " ../rustc_middle" }
2122rustc_mir_build = { path = " ../rustc_mir_build" }
Original file line number Diff line number Diff line change 11//! Inlining pass for MIR functions
22use crate :: deref_separator:: deref_finder;
33use rustc_attr:: InlineAttr ;
4- use rustc_const_eval:: transform:: validate:: validate_types;
54use rustc_hir:: def:: DefKind ;
65use rustc_hir:: def_id:: DefId ;
76use rustc_index:: bit_set:: BitSet ;
@@ -21,6 +20,7 @@ use rustc_target::spec::abi::Abi;
2120use crate :: cost_checker:: CostChecker ;
2221use crate :: simplify:: simplify_cfg;
2322use crate :: util;
23+ use crate :: validate:: validate_types;
2424use std:: iter;
2525use std:: ops:: { Range , RangeFrom } ;
2626
Original file line number Diff line number Diff line change @@ -109,9 +109,9 @@ mod simplify_comparison_integral;
109109mod sroa;
110110mod unreachable_enum_branching;
111111mod unreachable_prop;
112+ mod validate;
112113
113114use rustc_const_eval:: transform:: check_consts:: { self , ConstCx } ;
114- use rustc_const_eval:: transform:: validate;
115115use rustc_mir_dataflow:: rustc_peek;
116116
117117rustc_fluent_macro:: fluent_messages! { "../messages.ftl" }
File renamed without changes.
You can’t perform that action at this time.
0 commit comments