@@ -47,8 +47,6 @@ pub fn change_field_value_struct_like() -> Enum {
4747#[ cfg( not( cfail1) ) ]
4848#[ rustc_clean( cfg="cfail2" , except="HirBody,MirOptimized,MirValidated" ) ]
4949#[ rustc_clean( cfg="cfail3" ) ]
50- #[ rustc_metadata_clean( cfg="cfail2" ) ]
51- #[ rustc_metadata_clean( cfg="cfail3" ) ]
5250pub fn change_field_value_struct_like ( ) -> Enum {
5351 Enum :: Struct {
5452 x : 0 ,
@@ -72,8 +70,6 @@ pub fn change_field_order_struct_like() -> Enum {
7270#[ cfg( not( cfail1) ) ]
7371#[ rustc_clean( cfg="cfail2" , except="HirBody,TypeckTables" ) ]
7472#[ rustc_clean( cfg="cfail3" ) ]
75- #[ rustc_metadata_clean( cfg="cfail2" ) ]
76- #[ rustc_metadata_clean( cfg="cfail3" ) ]
7773// FIXME(michaelwoerister):Interesting. I would have thought that that changes the MIR. And it
7874// would if it were not all constants
7975pub fn change_field_order_struct_like ( ) -> Enum {
@@ -113,8 +109,6 @@ pub fn change_constructor_path_struct_like() {
113109#[ cfg( not( cfail1) ) ]
114110#[ rustc_clean( cfg="cfail2" , except="HirBody,MirOptimized,MirValidated,TypeckTables" ) ]
115111#[ rustc_clean( cfg="cfail3" ) ]
116- #[ rustc_metadata_clean( cfg="cfail2" ) ]
117- #[ rustc_metadata_clean( cfg="cfail3" ) ]
118112pub fn change_constructor_path_struct_like ( ) {
119113 let _ = Enum2 :: Struct {
120114 x : 0 ,
@@ -138,8 +132,6 @@ pub fn change_constructor_variant_struct_like() {
138132#[ cfg( not( cfail1) ) ]
139133#[ rustc_clean( cfg="cfail2" , except="HirBody,MirOptimized,MirValidated" ) ]
140134#[ rustc_clean( cfg="cfail3" ) ]
141- #[ rustc_metadata_clean( cfg="cfail2" ) ]
142- #[ rustc_metadata_clean( cfg="cfail3" ) ]
143135pub fn change_constructor_variant_struct_like ( ) {
144136 let _ = Enum2 :: Struct2 {
145137 x : 0 ,
@@ -162,8 +154,6 @@ pub mod change_constructor_path_indirectly_struct_like {
162154 TypeckTables"
163155 ) ]
164156 #[ rustc_clean( cfg="cfail3" ) ]
165- #[ rustc_metadata_dirty( cfg="cfail2" ) ]
166- #[ rustc_metadata_clean( cfg="cfail3" ) ]
167157 pub fn function ( ) -> TheEnum {
168158 TheEnum :: Struct {
169159 x : 0 ,
@@ -184,8 +174,6 @@ pub mod change_constructor_variant_indirectly_struct_like {
184174
185175 #[ rustc_clean( cfg="cfail2" , except="HirBody,MirOptimized,MirValidated" ) ]
186176 #[ rustc_clean( cfg="cfail3" ) ]
187- #[ rustc_metadata_clean( cfg="cfail2" ) ]
188- #[ rustc_metadata_clean( cfg="cfail3" ) ]
189177 pub fn function ( ) -> Enum2 {
190178 Variant {
191179 x : 0 ,
@@ -205,8 +193,6 @@ pub fn change_field_value_tuple_like() -> Enum {
205193#[ cfg( not( cfail1) ) ]
206194#[ rustc_clean( cfg="cfail2" , except="HirBody,MirOptimized,MirValidated" ) ]
207195#[ rustc_clean( cfg="cfail3" ) ]
208- #[ rustc_metadata_clean( cfg="cfail2" ) ]
209- #[ rustc_metadata_clean( cfg="cfail3" ) ]
210196pub fn change_field_value_tuple_like ( ) -> Enum {
211197 Enum :: Tuple ( 0 , 1 , 3 )
212198}
@@ -225,8 +211,6 @@ pub fn change_constructor_path_tuple_like() {
225211 except="HirBody,MirOptimized,MirValidated,TypeckTables"
226212) ]
227213#[ rustc_clean( cfg="cfail3" ) ]
228- #[ rustc_metadata_clean( cfg="cfail2" ) ]
229- #[ rustc_metadata_clean( cfg="cfail3" ) ]
230214pub fn change_constructor_path_tuple_like ( ) {
231215 let _ = Enum2 :: Tuple ( 0 , 1 , 2 ) ;
232216}
@@ -245,8 +229,6 @@ pub fn change_constructor_variant_tuple_like() {
245229 except="HirBody,MirOptimized,MirValidated,TypeckTables"
246230) ]
247231#[ rustc_clean( cfg="cfail3" ) ]
248- #[ rustc_metadata_clean( cfg="cfail2" ) ]
249- #[ rustc_metadata_clean( cfg="cfail3" ) ]
250232pub fn change_constructor_variant_tuple_like ( ) {
251233 let _ = Enum2 :: Tuple2 ( 0 , 1 , 2 ) ;
252234}
@@ -265,8 +247,6 @@ pub mod change_constructor_path_indirectly_tuple_like {
265247 TypeckTables"
266248 ) ]
267249 #[ rustc_clean( cfg="cfail3" ) ]
268- #[ rustc_metadata_dirty( cfg="cfail2" ) ]
269- #[ rustc_metadata_clean( cfg="cfail3" ) ]
270250 pub fn function ( ) -> TheEnum {
271251 TheEnum :: Tuple ( 0 , 1 , 2 )
272252 }
@@ -284,8 +264,6 @@ pub mod change_constructor_variant_indirectly_tuple_like {
284264
285265 #[ rustc_clean( cfg="cfail2" , except="HirBody,MirOptimized,MirValidated,TypeckTables" ) ]
286266 #[ rustc_clean( cfg="cfail3" ) ]
287- #[ rustc_metadata_clean( cfg="cfail2" ) ]
288- #[ rustc_metadata_clean( cfg="cfail3" ) ]
289267 pub fn function ( ) -> Enum2 {
290268 Variant ( 0 , 1 , 2 )
291269 }
@@ -313,7 +291,6 @@ pub fn change_constructor_path_c_like() {
313291#[ cfg( not( cfail1) ) ]
314292#[ rustc_clean( cfg="cfail2" , except="HirBody,MirOptimized,MirValidated,TypeckTables" ) ]
315293#[ rustc_clean( cfg="cfail3" ) ]
316- #[ rustc_metadata_clean( cfg="cfail3" ) ]
317294pub fn change_constructor_path_c_like ( ) {
318295 let _ = Clike2 :: B ;
319296}
@@ -329,8 +306,6 @@ pub fn change_constructor_variant_c_like() {
329306#[ cfg( not( cfail1) ) ]
330307#[ rustc_clean( cfg="cfail2" , except="HirBody,MirOptimized,MirValidated" ) ]
331308#[ rustc_clean( cfg="cfail3" ) ]
332- #[ rustc_metadata_clean( cfg="cfail2" ) ]
333- #[ rustc_metadata_clean( cfg="cfail3" ) ]
334309pub fn change_constructor_variant_c_like ( ) {
335310 let _ = Clike :: C ;
336311}
@@ -349,8 +324,6 @@ pub mod change_constructor_path_indirectly_c_like {
349324 TypeckTables"
350325 ) ]
351326 #[ rustc_clean( cfg="cfail3" ) ]
352- #[ rustc_metadata_dirty( cfg="cfail2" ) ]
353- #[ rustc_metadata_clean( cfg="cfail3" ) ]
354327 pub fn function ( ) -> TheEnum {
355328 TheEnum :: B
356329 }
@@ -368,8 +341,6 @@ pub mod change_constructor_variant_indirectly_c_like {
368341
369342 #[ rustc_clean( cfg="cfail2" , except="HirBody,MirOptimized,MirValidated" ) ]
370343 #[ rustc_clean( cfg="cfail3" ) ]
371- #[ rustc_metadata_clean( cfg="cfail2" ) ]
372- #[ rustc_metadata_clean( cfg="cfail3" ) ]
373344 pub fn function ( ) -> Clike {
374345 Variant
375346 }
0 commit comments