compiler: unnest rustc_const_eval::check_consts
This commit is contained in:
parent
db6ec2618a
commit
87048a46fc
@ -14,10 +14,10 @@
|
||||
#![feature(yeet_expr)]
|
||||
#![feature(if_let_guard)]
|
||||
|
||||
pub mod check_consts;
|
||||
pub mod const_eval;
|
||||
mod errors;
|
||||
pub mod interpret;
|
||||
pub mod transform;
|
||||
pub mod util;
|
||||
|
||||
use std::sync::atomic::AtomicBool;
|
||||
|
@ -1 +0,0 @@
|
||||
pub mod check_consts;
|
@ -111,7 +111,7 @@
|
||||
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::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…
Reference in New Issue
Block a user