]> git.lizzy.rs Git - rust.git/commitdiff
update comment re: not using higher mir-opt-level
authorRalf Jung <post@ralfj.de>
Mon, 4 Nov 2019 10:17:40 +0000 (11:17 +0100)
committerRalf Jung <post@ralfj.de>
Mon, 4 Nov 2019 10:17:40 +0000 (11:17 +0100)
tests/compiletest.rs

index 00fd039ad7e86e128257e9c2bbcba8525a918a55..bc1ba2eda56879f52d520d6e9f5c40a981c5179a 100644 (file)
@@ -66,9 +66,8 @@ fn compile_fail(path: &str, target: &str, opt: bool) {
 
     let mut flags = Vec::new();
     if opt {
-        // Optimizing too aggressivley makes UB detection harder, but test at least
-        // the default value.
-        // FIXME: Opt level 3 ICEs during stack trace generation.
+        // FIXME: Opt level 2 ICEs during stack trace generation.
+        // See https://github.com/rust-lang/rust/issues/66077.
         flags.push("-Zmir-opt-level=1".to_owned());
     }