about summary refs log tree commit diff
path: root/src/test/incremental
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2021-09-10 19:57:06 +0200
committerCamille GILLOT <gillot.camille@gmail.com>2021-09-11 17:52:39 +0200
commit7842b80478ae92e2b7956f61bb14b76d17f57140 (patch)
tree15e7feaa878e0e277c3af8ad008fc81f6dc34dc0 /src/test/incremental
parent11a999e63493c179bbefb3ce8dde4c698a4b690c (diff)
downloadrust-7842b80478ae92e2b7956f61bb14b76d17f57140.tar.gz
rust-7842b80478ae92e2b7956f61bb14b76d17f57140.zip
Rebase fallout.
Diffstat (limited to 'src/test/incremental')
-rw-r--r--src/test/incremental/hashes/if_expressions.rs2
-rw-r--r--src/test/incremental/hashes/while_loops.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/incremental/hashes/if_expressions.rs b/src/test/incremental/hashes/if_expressions.rs
index 0a665a269dd..0c5e73b0107 100644
--- a/src/test/incremental/hashes/if_expressions.rs
+++ b/src/test/incremental/hashes/if_expressions.rs
@@ -214,7 +214,7 @@ pub fn add_else_branch_if_let(x: Option<u32>) -> u32 {
 #[cfg(not(any(cfail1,cfail4)))]
 #[rustc_clean(cfg="cfail2", except="hir_owner_nodes,typeck")]
 #[rustc_clean(cfg="cfail3")]
-#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,typeck")]
+#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,typeck,optimized_mir")]
 #[rustc_clean(cfg="cfail6")]
 pub fn add_else_branch_if_let(x: Option<u32>) -> u32 {
     let mut ret = 1;
diff --git a/src/test/incremental/hashes/while_loops.rs b/src/test/incremental/hashes/while_loops.rs
index 583aa47668d..b8796d3446b 100644
--- a/src/test/incremental/hashes/while_loops.rs
+++ b/src/test/incremental/hashes/while_loops.rs
@@ -214,7 +214,7 @@ pub fn change_continue_label() {
 #[cfg(not(any(cfail1,cfail4)))]
 #[rustc_clean(cfg="cfail2", except="hir_owner_nodes,typeck")]
 #[rustc_clean(cfg="cfail3")]
-#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,typeck")]
+#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,typeck,optimized_mir")]
 #[rustc_clean(cfg="cfail6")]
 pub fn change_continue_label() {
     let mut _x = 0;