Skip to content

Commit b704697

Browse files
committed
Bless incremental tests.
1 parent 27d6a57 commit b704697

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

tests/incremental/hashes/for_loops.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ pub fn change_loop_body() {
2828
}
2929

3030
#[cfg(not(any(cfail1,cfail4)))]
31-
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
31+
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes, optimized_mir")]
3232
#[rustc_clean(cfg="cfail3")]
33-
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes")]
33+
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes, optimized_mir")]
3434
#[rustc_clean(cfg="cfail6")]
3535
pub fn change_loop_body() {
3636
let mut _x = 0;
@@ -180,7 +180,7 @@ pub fn add_loop_label_to_break() {
180180
#[cfg(not(any(cfail1,cfail4)))]
181181
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
182182
#[rustc_clean(cfg="cfail3")]
183-
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes")]
183+
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes, optimized_mir")]
184184
#[rustc_clean(cfg="cfail6")]
185185
pub fn add_loop_label_to_break() {
186186
let mut _x = 0;

tests/incremental/hashes/loop_expressions.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ pub fn change_loop_body() {
2828
}
2929

3030
#[cfg(not(any(cfail1,cfail4)))]
31-
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
31+
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes, optimized_mir")]
3232
#[rustc_clean(cfg="cfail3")]
33-
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes")]
33+
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes, optimized_mir")]
3434
#[rustc_clean(cfg="cfail6")]
3535
pub fn change_loop_body() {
3636
let mut _x = 0;

tests/incremental/hashes/while_loops.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ pub fn change_loop_body() {
2828
}
2929

3030
#[cfg(not(any(cfail1,cfail4)))]
31-
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
31+
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes, optimized_mir")]
3232
#[rustc_clean(cfg="cfail3")]
33-
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes")]
33+
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes, optimized_mir")]
3434
#[rustc_clean(cfg="cfail6")]
3535
pub fn change_loop_body() {
3636
let mut _x = 0;
@@ -53,9 +53,9 @@ pub fn change_loop_condition() {
5353
}
5454

5555
#[cfg(not(any(cfail1,cfail4)))]
56-
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
56+
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes, optimized_mir")]
5757
#[rustc_clean(cfg="cfail3")]
58-
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes")]
58+
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes, optimized_mir")]
5959
#[rustc_clean(cfg="cfail6")]
6060
pub fn change_loop_condition() {
6161
let mut _x = 0;
@@ -211,7 +211,7 @@ pub fn change_continue_label() {
211211
#[cfg(not(any(cfail1,cfail4)))]
212212
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
213213
#[rustc_clean(cfg="cfail3")]
214-
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,optimized_mir")]
214+
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes")]
215215
#[rustc_clean(cfg="cfail6")]
216216
pub fn change_continue_label() {
217217
let mut _x = 0;

0 commit comments

Comments
 (0)