From: Ralf Jung Date: Mon, 4 Nov 2019 10:17:40 +0000 (+0100) Subject: update comment re: not using higher mir-opt-level X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=9b4ceec60e039433a4409ca2f89af97e1c3b581d;p=rust.git update comment re: not using higher mir-opt-level --- diff --git a/tests/compiletest.rs b/tests/compiletest.rs index 00fd039ad7e..bc1ba2eda56 100644 --- a/tests/compiletest.rs +++ b/tests/compiletest.rs @@ -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()); }