File tree Expand file tree Collapse file tree 3 files changed +164
-237
lines changed
rustc_const_eval/src/transform Expand file tree Collapse file tree 3 files changed +164
-237
lines changed Original file line number Diff line number Diff line change 11pub mod check_consts;
2- pub mod promote_consts;
32pub mod validate;
Original file line number Diff line number Diff line change 11#![ deny( rustc:: untranslatable_diagnostic) ]
22#![ deny( rustc:: diagnostic_outside_of_impl) ]
3+ #![ feature( assert_matches) ]
34#![ feature( box_patterns) ]
45#![ feature( cow_is_borrowed) ]
56#![ feature( decl_macro) ]
@@ -94,6 +95,7 @@ mod multiple_return_terminators;
9495mod normalize_array_len;
9596mod nrvo;
9697mod prettify;
98+ mod promote_consts;
9799mod ref_prop;
98100mod remove_noop_landing_pads;
99101mod remove_storage_markers;
@@ -115,7 +117,6 @@ mod uninhabited_enum_branching;
115117mod unreachable_prop;
116118
117119use rustc_const_eval:: transform:: check_consts:: { self , ConstCx } ;
118- use rustc_const_eval:: transform:: promote_consts;
119120use rustc_const_eval:: transform:: validate;
120121use rustc_mir_dataflow:: rustc_peek;
121122
You can’t perform that action at this time.
0 commit comments