Disable opt in incremental test.

This commit is contained in:
Camille GILLOT 2023-12-22 21:44:21 +00:00
parent 6dfda0d32f
commit aa9968881c

View File

@ -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 fn 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");
}