compiler: const_eval/transform/validate.rs -> mir_transform/validate.rs
This commit is contained in:
parent
213ad10c8f
commit
db6ec2618a
6 changed files with 4 additions and 3 deletions
|
@ -1,7 +1,6 @@
|
|||
//! Inlining pass for MIR functions
|
||||
use crate::deref_separator::deref_finder;
|
||||
use rustc_attr::InlineAttr;
|
||||
use rustc_const_eval::transform::validate::validate_types;
|
||||
use rustc_hir::def::DefKind;
|
||||
use rustc_hir::def_id::DefId;
|
||||
use rustc_index::bit_set::BitSet;
|
||||
|
@ -21,6 +20,7 @@ use rustc_target::spec::abi::Abi;
|
|||
use crate::cost_checker::CostChecker;
|
||||
use crate::simplify::simplify_cfg;
|
||||
use crate::util;
|
||||
use crate::validate::validate_types;
|
||||
use std::iter;
|
||||
use std::ops::{Range, RangeFrom};
|
||||
|
||||
|
|
|
@ -109,9 +109,9 @@ mod simplify_comparison_integral;
|
|||
mod sroa;
|
||||
mod unreachable_enum_branching;
|
||||
mod unreachable_prop;
|
||||
mod validate;
|
||||
|
||||
use rustc_const_eval::transform::check_consts::{self, ConstCx};
|
||||
use rustc_const_eval::transform::validate;
|
||||
use rustc_mir_dataflow::rustc_peek;
|
||||
|
||||
rustc_fluent_macro::fluent_messages! { "../messages.ftl" }
|
||||
|
|
1406
compiler/rustc_mir_transform/src/validate.rs
Normal file
1406
compiler/rustc_mir_transform/src/validate.rs
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue