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 @@ -43,7 +43,8 @@ mod add_retag;
4343mod check_const_item_mutation;
4444mod check_packed_ref;
4545pub mod check_unsafety;
46- mod cleanup_post_borrowck;
46+ // This pass is public to allow external drivers to perform MIR cleanup
47+ pub mod cleanup_post_borrowck;
4748mod const_debuginfo;
4849mod const_goto;
4950mod const_prop;
@@ -65,7 +66,8 @@ mod match_branches;
6566mod multiple_return_terminators;
6667mod normalize_array_len;
6768mod nrvo;
68- mod remove_false_edges;
69+ // This pass is public to allow external drivers to perform MIR cleanup
70+ pub mod remove_false_edges;
6971mod remove_noop_landing_pads;
7072mod remove_storage_markers;
7173mod remove_uninit_drops;
@@ -75,7 +77,8 @@ mod required_consts;
7577mod reveal_all;
7678mod separate_const_switch;
7779mod shim;
78- mod simplify;
80+ // This pass is public to allow external drivers to perform MIR cleanup
81+ pub mod simplify;
7982mod simplify_branches;
8083mod simplify_comparison_integral;
8184mod simplify_try;
You can’t perform that action at this time.
0 commit comments