7
7
8
8
// build-pass (FIXME(62277): could be check-pass?)
9
9
// revisions: cfail1 cfail2 cfail3 cfail4 cfail5 cfail6
10
- // compile-flags: -Z query-dep-graph -Zmir-opt-level=0
10
+ // compile-flags: -Z query-dep-graph -O
11
11
// [cfail1]compile-flags: -Zincremental-ignore-spans
12
12
// [cfail2]compile-flags: -Zincremental-ignore-spans
13
13
// [cfail3]compile-flags: -Zincremental-ignore-spans
@@ -106,9 +106,9 @@ pub fn change_constructor_path_struct_like() {
106
106
}
107
107
108
108
#[ cfg( not( any( cfail1, cfail4) ) ) ]
109
- #[ rustc_clean( cfg="cfail2" , except="hir_owner_nodes,optimized_mir, typeck" ) ]
109
+ #[ rustc_clean( cfg="cfail2" , except="hir_owner_nodes,typeck" ) ]
110
110
#[ rustc_clean( cfg="cfail3" ) ]
111
- #[ rustc_clean( cfg="cfail5" , except="hir_owner_nodes,optimized_mir, typeck" ) ]
111
+ #[ rustc_clean( cfg="cfail5" , except="hir_owner_nodes,typeck" ) ]
112
112
#[ rustc_clean( cfg="cfail6" ) ]
113
113
pub fn change_constructor_path_struct_like ( ) {
114
114
let _ = Enum2 :: Struct {
@@ -131,9 +131,9 @@ pub fn change_constructor_variant_struct_like() {
131
131
}
132
132
133
133
#[ cfg( not( any( cfail1, cfail4) ) ) ]
134
- #[ rustc_clean( cfg="cfail2" , except="hir_owner_nodes,optimized_mir " ) ]
134
+ #[ rustc_clean( cfg="cfail2" , except="hir_owner_nodes" ) ]
135
135
#[ rustc_clean( cfg="cfail3" ) ]
136
- #[ rustc_clean( cfg="cfail5" , except="hir_owner_nodes,optimized_mir " ) ]
136
+ #[ rustc_clean( cfg="cfail5" , except="hir_owner_nodes" ) ]
137
137
#[ rustc_clean( cfg="cfail6" ) ]
138
138
pub fn change_constructor_variant_struct_like ( ) {
139
139
let _ = Enum2 :: Struct2 {
@@ -221,12 +221,12 @@ pub fn change_constructor_path_tuple_like() {
221
221
#[ cfg( not( any( cfail1, cfail4) ) ) ]
222
222
#[ rustc_clean(
223
223
cfg="cfail2" ,
224
- except="hir_owner_nodes,optimized_mir, typeck"
224
+ except="hir_owner_nodes,typeck"
225
225
) ]
226
226
#[ rustc_clean( cfg="cfail3" ) ]
227
227
#[ rustc_clean(
228
228
cfg="cfail5" ,
229
- except="hir_owner_nodes,optimized_mir, typeck"
229
+ except="hir_owner_nodes,typeck"
230
230
) ]
231
231
#[ rustc_clean( cfg="cfail6" ) ]
232
232
pub fn change_constructor_path_tuple_like ( ) {
@@ -244,12 +244,12 @@ pub fn change_constructor_variant_tuple_like() {
244
244
#[ cfg( not( any( cfail1, cfail4) ) ) ]
245
245
#[ rustc_clean(
246
246
cfg="cfail2" ,
247
- except="hir_owner_nodes,optimized_mir, typeck"
247
+ except="hir_owner_nodes,typeck"
248
248
) ]
249
249
#[ rustc_clean( cfg="cfail3" ) ]
250
250
#[ rustc_clean(
251
251
cfg="cfail5" ,
252
- except="hir_owner_nodes,optimized_mir, typeck"
252
+ except="hir_owner_nodes,typeck"
253
253
) ]
254
254
#[ rustc_clean( cfg="cfail6" ) ]
255
255
pub fn change_constructor_variant_tuple_like ( ) {
@@ -337,9 +337,9 @@ pub fn change_constructor_variant_c_like() {
337
337
}
338
338
339
339
#[ cfg( not( any( cfail1, cfail4) ) ) ]
340
- #[ rustc_clean( cfg="cfail2" , except="hir_owner_nodes,optimized_mir " ) ]
340
+ #[ rustc_clean( cfg="cfail2" , except="hir_owner_nodes" ) ]
341
341
#[ rustc_clean( cfg="cfail3" ) ]
342
- #[ rustc_clean( cfg="cfail5" , except="hir_owner_nodes,optimized_mir " ) ]
342
+ #[ rustc_clean( cfg="cfail5" , except="hir_owner_nodes" ) ]
343
343
#[ rustc_clean( cfg="cfail6" ) ]
344
344
pub fn change_constructor_variant_c_like ( ) {
345
345
let _x = Clike :: C ;
0 commit comments