compiler: unnest rustc_const_eval::check_consts

This commit is contained in:
Jubilee Young 2024-05-24 01:33:13 -07:00
parent db6ec2618a
commit 87048a46fc
10 changed files with 3 additions and 4 deletions

View File

@ -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;

View File

@ -1 +0,0 @@
pub mod check_consts;

View File

@ -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" }

View File

@ -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.
///