We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f65475 commit a3db620Copy full SHA for a3db620
src/librustc_mir/transform/inline.rs
@@ -39,7 +39,7 @@ struct CallSite<'tcx> {
39
40
impl<'tcx> MirPass<'tcx> for Inline {
41
fn run_pass(&self, tcx: TyCtxt<'tcx>, source: MirSource<'tcx>, body: &mut BodyAndCache<'tcx>) {
42
- if tcx.sess.opts.debugging_opts.mir_opt_level >= 2 {
+ if tcx.sess.opts.debugging_opts.mir_opt_level >= 1 {
43
Inliner { tcx, source }.run_pass(body);
44
}
45
0 commit comments