diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs index f2acfa517ced..6647a1a0a933 100644 --- a/src/tools/compiletest/src/runtest.rs +++ b/src/tools/compiletest/src/runtest.rs @@ -1340,6 +1340,8 @@ actual:\n\ MirOpt => { args.extend(["-Z", "dump-mir=all", + "-Z", + "mir-opt-level=3", "-Z"] .iter() .map(|s| s.to_string()));