Skip to content

Commit f74054f

Browse files
committed
Auto merge of #1030 - RalfJung:mir-opt-comment, r=RalfJung
update comment re: not using higher mir-opt-level
2 parents 727e778 + 9b4ceec commit f74054f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/compiletest.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,8 @@ fn compile_fail(path: &str, target: &str, opt: bool) {
6666

6767
let mut flags = Vec::new();
6868
if opt {
69-
// Optimizing too aggressivley makes UB detection harder, but test at least
70-
// the default value.
71-
// FIXME: Opt level 3 ICEs during stack trace generation.
69+
// FIXME: Opt level 2 ICEs during stack trace generation.
70+
// See https://github.com/rust-lang/rust/issues/66077.
7271
flags.push("-Zmir-opt-level=1".to_owned());
7372
}
7473

0 commit comments

Comments
 (0)