remove optimizations from const_prop_lint
This commit is contained in:
parent
5e4ff26618
commit
c2f9278b40
2 changed files with 21 additions and 281 deletions
|
@ -431,7 +431,7 @@ fn run_post_borrowck_cleanup_passes<'tcx>(tcx: TyCtxt<'tcx>, body: &mut Body<'tc
|
|||
// `Deaggregator` is conceptually part of MIR building, some backends rely on it happening
|
||||
// and it can help optimizations.
|
||||
&deaggregator::Deaggregator,
|
||||
&const_prop_lint::ConstProp,
|
||||
&Lint(const_prop_lint::ConstProp),
|
||||
];
|
||||
|
||||
pm::run_passes(tcx, body, post_borrowck_cleanup);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue