From 1293d259d53f68e57cf77392e863f6b844083554 Mon Sep 17 00:00:00 2001 From: Camille GILLOT Date: Fri, 22 Dec 2023 21:44:21 +0000 Subject: [PATCH] Disable opt in incremental test. --- tests/incremental/string_constant.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/incremental/string_constant.rs b/tests/incremental/string_constant.rs index 39b4a5d61d981..47cd100b13691 100644 --- a/tests/incremental/string_constant.rs +++ b/tests/incremental/string_constant.rs @@ -1,5 +1,5 @@ // revisions: cfail1 cfail2 -// compile-flags: -Z query-dep-graph +// compile-flags: -Z query-dep-graph -Copt-level=0 // build-pass (FIXME(62277): could be check-pass?) #![allow(warnings)] @@ -17,7 +17,7 @@ pub mod x { } #[cfg(cfail2)] - #[rustc_clean(except = "hir_owner_nodes,promoted_mir,optimized_mir", cfg = "cfail2")] + #[rustc_clean(except = "hir_owner_nodes,promoted_mir", cfg = "cfail2")] pub fn x() { println!("{}", "2"); }