compiler: unnest rustc_const_eval::check_consts
This commit is contained in:
parent
db6ec2618a
commit
87048a46fc
10 changed files with 3 additions and 4 deletions
|
@ -111,7 +111,7 @@ mod unreachable_enum_branching;
|
|||
mod unreachable_prop;
|
||||
mod validate;
|
||||
|
||||
use rustc_const_eval::transform::check_consts::{self, ConstCx};
|
||||
use rustc_const_eval::check_consts::{self, ConstCx};
|
||||
use rustc_mir_dataflow::rustc_peek;
|
||||
|
||||
rustc_fluent_macro::fluent_messages! { "../messages.ftl" }
|
||||
|
|
|
@ -30,7 +30,7 @@ use std::assert_matches::assert_matches;
|
|||
use std::cell::Cell;
|
||||
use std::{cmp, iter, mem};
|
||||
|
||||
use rustc_const_eval::transform::check_consts::{qualifs, ConstCx};
|
||||
use rustc_const_eval::check_consts::{qualifs, ConstCx};
|
||||
|
||||
/// A `MirPass` for promotion.
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue