File tree 3 files changed +164
-237
lines changed
rustc_const_eval/src/transform
3 files changed +164
-237
lines changed Original file line number Diff line number Diff line change 1
1
pub mod check_consts;
2
- pub mod promote_consts;
3
2
pub mod validate;
Original file line number Diff line number Diff line change 1
1
#![ deny( rustc:: untranslatable_diagnostic) ]
2
2
#![ deny( rustc:: diagnostic_outside_of_impl) ]
3
+ #![ feature( assert_matches) ]
3
4
#![ feature( box_patterns) ]
4
5
#![ feature( cow_is_borrowed) ]
5
6
#![ feature( decl_macro) ]
@@ -94,6 +95,7 @@ mod multiple_return_terminators;
94
95
mod normalize_array_len;
95
96
mod nrvo;
96
97
mod prettify;
98
+ mod promote_consts;
97
99
mod ref_prop;
98
100
mod remove_noop_landing_pads;
99
101
mod remove_storage_markers;
@@ -115,7 +117,6 @@ mod uninhabited_enum_branching;
115
117
mod unreachable_prop;
116
118
117
119
use rustc_const_eval:: transform:: check_consts:: { self , ConstCx } ;
118
- use rustc_const_eval:: transform:: promote_consts;
119
120
use rustc_const_eval:: transform:: validate;
120
121
use rustc_mir_dataflow:: rustc_peek;
121
122
You can’t perform that action at this time.
0 commit comments