File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
compiler/rustc_mir_transform/src Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,8 @@ mod add_retag;
4242mod check_const_item_mutation;
4343mod check_packed_ref;
4444pub mod check_unsafety;
45- mod cleanup_post_borrowck;
45+ // This pass is public to allow external drivers to perform MIR cleanup
46+ pub mod cleanup_post_borrowck;
4647mod const_debuginfo;
4748mod const_goto;
4849mod const_prop;
@@ -64,7 +65,8 @@ mod match_branches;
6465mod multiple_return_terminators;
6566mod normalize_array_len;
6667mod nrvo;
67- mod remove_false_edges;
68+ // This pass is public to allow external drivers to perform MIR cleanup
69+ pub mod remove_false_edges;
6870mod remove_noop_landing_pads;
6971mod remove_storage_markers;
7072mod remove_uninit_drops;
@@ -74,7 +76,8 @@ mod required_consts;
7476mod reveal_all;
7577mod separate_const_switch;
7678mod shim;
77- mod simplify;
79+ // This pass is public to allow external drivers to perform MIR cleanup
80+ pub mod simplify;
7881mod simplify_branches;
7982mod simplify_comparison_integral;
8083mod simplify_try;
You can’t perform that action at this time.
0 commit comments