From 9b4ceec60e039433a4409ca2f89af97e1c3b581d Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Mon, 4 Nov 2019 11:17:40 +0100 Subject: [PATCH] update comment re: not using higher mir-opt-level --- tests/compiletest.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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()); } -- 2.44.0