Move promote_consts back to rustc_mir_transform.
This commit is contained in:
parent
75c68cfd2b
commit
8356802862
3 changed files with 7 additions and 15 deletions
|
@ -93,6 +93,7 @@ mod multiple_return_terminators;
|
|||
mod normalize_array_len;
|
||||
mod nrvo;
|
||||
mod prettify;
|
||||
mod promote_consts;
|
||||
mod ref_prop;
|
||||
mod remove_noop_landing_pads;
|
||||
mod remove_storage_markers;
|
||||
|
@ -114,7 +115,6 @@ mod uninhabited_enum_branching;
|
|||
mod unreachable_prop;
|
||||
|
||||
use rustc_const_eval::transform::check_consts::{self, ConstCx};
|
||||
use rustc_const_eval::transform::promote_consts;
|
||||
use rustc_const_eval::transform::validate;
|
||||
use rustc_mir_dataflow::rustc_peek;
|
||||
|
||||
|
|
1018
compiler/rustc_mir_transform/src/promote_consts.rs
Normal file
1018
compiler/rustc_mir_transform/src/promote_consts.rs
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue