77
88// build-pass (FIXME(62277): could be check-pass?)
99// 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
1111// [cfail1]compile-flags: -Zincremental-ignore-spans
1212// [cfail2]compile-flags: -Zincremental-ignore-spans
1313// [cfail3]compile-flags: -Zincremental-ignore-spans
@@ -106,9 +106,9 @@ pub fn change_constructor_path_struct_like() {
106106}
107107
108108#[ 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" ) ]
110110#[ 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" ) ]
112112#[ rustc_clean( cfg="cfail6" ) ]
113113pub fn change_constructor_path_struct_like ( ) {
114114 let _ = Enum2 :: Struct {
@@ -131,9 +131,9 @@ pub fn change_constructor_variant_struct_like() {
131131}
132132
133133#[ 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" ) ]
135135#[ rustc_clean( cfg="cfail3" ) ]
136- #[ rustc_clean( cfg="cfail5" , except="hir_owner_nodes,optimized_mir " ) ]
136+ #[ rustc_clean( cfg="cfail5" , except="hir_owner_nodes" ) ]
137137#[ rustc_clean( cfg="cfail6" ) ]
138138pub fn change_constructor_variant_struct_like ( ) {
139139 let _ = Enum2 :: Struct2 {
@@ -221,12 +221,12 @@ pub fn change_constructor_path_tuple_like() {
221221#[ cfg( not( any( cfail1, cfail4) ) ) ]
222222#[ rustc_clean(
223223 cfg="cfail2" ,
224- except="hir_owner_nodes,optimized_mir, typeck"
224+ except="hir_owner_nodes,typeck"
225225) ]
226226#[ rustc_clean( cfg="cfail3" ) ]
227227#[ rustc_clean(
228228 cfg="cfail5" ,
229- except="hir_owner_nodes,optimized_mir, typeck"
229+ except="hir_owner_nodes,typeck"
230230) ]
231231#[ rustc_clean( cfg="cfail6" ) ]
232232pub fn change_constructor_path_tuple_like ( ) {
@@ -244,12 +244,12 @@ pub fn change_constructor_variant_tuple_like() {
244244#[ cfg( not( any( cfail1, cfail4) ) ) ]
245245#[ rustc_clean(
246246 cfg="cfail2" ,
247- except="hir_owner_nodes,optimized_mir, typeck"
247+ except="hir_owner_nodes,typeck"
248248) ]
249249#[ rustc_clean( cfg="cfail3" ) ]
250250#[ rustc_clean(
251251 cfg="cfail5" ,
252- except="hir_owner_nodes,optimized_mir, typeck"
252+ except="hir_owner_nodes,typeck"
253253) ]
254254#[ rustc_clean( cfg="cfail6" ) ]
255255pub fn change_constructor_variant_tuple_like ( ) {
@@ -337,9 +337,9 @@ pub fn change_constructor_variant_c_like() {
337337}
338338
339339#[ 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" ) ]
341341#[ rustc_clean( cfg="cfail3" ) ]
342- #[ rustc_clean( cfg="cfail5" , except="hir_owner_nodes,optimized_mir " ) ]
342+ #[ rustc_clean( cfg="cfail5" , except="hir_owner_nodes" ) ]
343343#[ rustc_clean( cfg="cfail6" ) ]
344344pub fn change_constructor_variant_c_like ( ) {
345345 let _x = Clike :: C ;
0 commit comments