compiler: unnest rustc_const_eval::check_consts
This commit is contained in:
parent
db6ec2618a
commit
87048a46fc
@ -14,10 +14,10 @@
|
|||||||
#![feature(yeet_expr)]
|
#![feature(yeet_expr)]
|
||||||
#![feature(if_let_guard)]
|
#![feature(if_let_guard)]
|
||||||
|
|
||||||
|
pub mod check_consts;
|
||||||
pub mod const_eval;
|
pub mod const_eval;
|
||||||
mod errors;
|
mod errors;
|
||||||
pub mod interpret;
|
pub mod interpret;
|
||||||
pub mod transform;
|
|
||||||
pub mod util;
|
pub mod util;
|
||||||
|
|
||||||
use std::sync::atomic::AtomicBool;
|
use std::sync::atomic::AtomicBool;
|
||||||
|
@ -1 +0,0 @@
|
|||||||
pub mod check_consts;
|
|
@ -111,7 +111,7 @@ mod unreachable_enum_branching;
|
|||||||
mod unreachable_prop;
|
mod unreachable_prop;
|
||||||
mod validate;
|
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;
|
use rustc_mir_dataflow::rustc_peek;
|
||||||
|
|
||||||
rustc_fluent_macro::fluent_messages! { "../messages.ftl" }
|
rustc_fluent_macro::fluent_messages! { "../messages.ftl" }
|
||||||
|
@ -30,7 +30,7 @@ use std::assert_matches::assert_matches;
|
|||||||
use std::cell::Cell;
|
use std::cell::Cell;
|
||||||
use std::{cmp, iter, mem};
|
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.
|
/// A `MirPass` for promotion.
|
||||||
///
|
///
|
||||||
|
Loading…
x
Reference in New Issue
Block a user