@@ -47,8 +47,6 @@ pub fn change_field_value_struct_like() -> Enum {
47
47
#[ cfg( not( cfail1) ) ]
48
48
#[ rustc_clean( cfg="cfail2" , except="HirBody,MirOptimized,MirValidated" ) ]
49
49
#[ rustc_clean( cfg="cfail3" ) ]
50
- #[ rustc_metadata_clean( cfg="cfail2" ) ]
51
- #[ rustc_metadata_clean( cfg="cfail3" ) ]
52
50
pub fn change_field_value_struct_like ( ) -> Enum {
53
51
Enum :: Struct {
54
52
x : 0 ,
@@ -72,8 +70,6 @@ pub fn change_field_order_struct_like() -> Enum {
72
70
#[ cfg( not( cfail1) ) ]
73
71
#[ rustc_clean( cfg="cfail2" , except="HirBody,TypeckTables" ) ]
74
72
#[ rustc_clean( cfg="cfail3" ) ]
75
- #[ rustc_metadata_clean( cfg="cfail2" ) ]
76
- #[ rustc_metadata_clean( cfg="cfail3" ) ]
77
73
// FIXME(michaelwoerister):Interesting. I would have thought that that changes the MIR. And it
78
74
// would if it were not all constants
79
75
pub fn change_field_order_struct_like ( ) -> Enum {
@@ -113,8 +109,6 @@ pub fn change_constructor_path_struct_like() {
113
109
#[ cfg( not( cfail1) ) ]
114
110
#[ rustc_clean( cfg="cfail2" , except="HirBody,MirOptimized,MirValidated,TypeckTables" ) ]
115
111
#[ rustc_clean( cfg="cfail3" ) ]
116
- #[ rustc_metadata_clean( cfg="cfail2" ) ]
117
- #[ rustc_metadata_clean( cfg="cfail3" ) ]
118
112
pub fn change_constructor_path_struct_like ( ) {
119
113
let _ = Enum2 :: Struct {
120
114
x : 0 ,
@@ -138,8 +132,6 @@ pub fn change_constructor_variant_struct_like() {
138
132
#[ cfg( not( cfail1) ) ]
139
133
#[ rustc_clean( cfg="cfail2" , except="HirBody,MirOptimized,MirValidated" ) ]
140
134
#[ rustc_clean( cfg="cfail3" ) ]
141
- #[ rustc_metadata_clean( cfg="cfail2" ) ]
142
- #[ rustc_metadata_clean( cfg="cfail3" ) ]
143
135
pub fn change_constructor_variant_struct_like ( ) {
144
136
let _ = Enum2 :: Struct2 {
145
137
x : 0 ,
@@ -162,8 +154,6 @@ pub mod change_constructor_path_indirectly_struct_like {
162
154
TypeckTables"
163
155
) ]
164
156
#[ rustc_clean( cfg="cfail3" ) ]
165
- #[ rustc_metadata_dirty( cfg="cfail2" ) ]
166
- #[ rustc_metadata_clean( cfg="cfail3" ) ]
167
157
pub fn function ( ) -> TheEnum {
168
158
TheEnum :: Struct {
169
159
x : 0 ,
@@ -184,8 +174,6 @@ pub mod change_constructor_variant_indirectly_struct_like {
184
174
185
175
#[ rustc_clean( cfg="cfail2" , except="HirBody,MirOptimized,MirValidated" ) ]
186
176
#[ rustc_clean( cfg="cfail3" ) ]
187
- #[ rustc_metadata_clean( cfg="cfail2" ) ]
188
- #[ rustc_metadata_clean( cfg="cfail3" ) ]
189
177
pub fn function ( ) -> Enum2 {
190
178
Variant {
191
179
x : 0 ,
@@ -205,8 +193,6 @@ pub fn change_field_value_tuple_like() -> Enum {
205
193
#[ cfg( not( cfail1) ) ]
206
194
#[ rustc_clean( cfg="cfail2" , except="HirBody,MirOptimized,MirValidated" ) ]
207
195
#[ rustc_clean( cfg="cfail3" ) ]
208
- #[ rustc_metadata_clean( cfg="cfail2" ) ]
209
- #[ rustc_metadata_clean( cfg="cfail3" ) ]
210
196
pub fn change_field_value_tuple_like ( ) -> Enum {
211
197
Enum :: Tuple ( 0 , 1 , 3 )
212
198
}
@@ -225,8 +211,6 @@ pub fn change_constructor_path_tuple_like() {
225
211
except="HirBody,MirOptimized,MirValidated,TypeckTables"
226
212
) ]
227
213
#[ rustc_clean( cfg="cfail3" ) ]
228
- #[ rustc_metadata_clean( cfg="cfail2" ) ]
229
- #[ rustc_metadata_clean( cfg="cfail3" ) ]
230
214
pub fn change_constructor_path_tuple_like ( ) {
231
215
let _ = Enum2 :: Tuple ( 0 , 1 , 2 ) ;
232
216
}
@@ -245,8 +229,6 @@ pub fn change_constructor_variant_tuple_like() {
245
229
except="HirBody,MirOptimized,MirValidated,TypeckTables"
246
230
) ]
247
231
#[ rustc_clean( cfg="cfail3" ) ]
248
- #[ rustc_metadata_clean( cfg="cfail2" ) ]
249
- #[ rustc_metadata_clean( cfg="cfail3" ) ]
250
232
pub fn change_constructor_variant_tuple_like ( ) {
251
233
let _ = Enum2 :: Tuple2 ( 0 , 1 , 2 ) ;
252
234
}
@@ -265,8 +247,6 @@ pub mod change_constructor_path_indirectly_tuple_like {
265
247
TypeckTables"
266
248
) ]
267
249
#[ rustc_clean( cfg="cfail3" ) ]
268
- #[ rustc_metadata_dirty( cfg="cfail2" ) ]
269
- #[ rustc_metadata_clean( cfg="cfail3" ) ]
270
250
pub fn function ( ) -> TheEnum {
271
251
TheEnum :: Tuple ( 0 , 1 , 2 )
272
252
}
@@ -284,8 +264,6 @@ pub mod change_constructor_variant_indirectly_tuple_like {
284
264
285
265
#[ rustc_clean( cfg="cfail2" , except="HirBody,MirOptimized,MirValidated,TypeckTables" ) ]
286
266
#[ rustc_clean( cfg="cfail3" ) ]
287
- #[ rustc_metadata_clean( cfg="cfail2" ) ]
288
- #[ rustc_metadata_clean( cfg="cfail3" ) ]
289
267
pub fn function ( ) -> Enum2 {
290
268
Variant ( 0 , 1 , 2 )
291
269
}
@@ -313,7 +291,6 @@ pub fn change_constructor_path_c_like() {
313
291
#[ cfg( not( cfail1) ) ]
314
292
#[ rustc_clean( cfg="cfail2" , except="HirBody,MirOptimized,MirValidated,TypeckTables" ) ]
315
293
#[ rustc_clean( cfg="cfail3" ) ]
316
- #[ rustc_metadata_clean( cfg="cfail3" ) ]
317
294
pub fn change_constructor_path_c_like ( ) {
318
295
let _ = Clike2 :: B ;
319
296
}
@@ -329,8 +306,6 @@ pub fn change_constructor_variant_c_like() {
329
306
#[ cfg( not( cfail1) ) ]
330
307
#[ rustc_clean( cfg="cfail2" , except="HirBody,MirOptimized,MirValidated" ) ]
331
308
#[ rustc_clean( cfg="cfail3" ) ]
332
- #[ rustc_metadata_clean( cfg="cfail2" ) ]
333
- #[ rustc_metadata_clean( cfg="cfail3" ) ]
334
309
pub fn change_constructor_variant_c_like ( ) {
335
310
let _ = Clike :: C ;
336
311
}
@@ -349,8 +324,6 @@ pub mod change_constructor_path_indirectly_c_like {
349
324
TypeckTables"
350
325
) ]
351
326
#[ rustc_clean( cfg="cfail3" ) ]
352
- #[ rustc_metadata_dirty( cfg="cfail2" ) ]
353
- #[ rustc_metadata_clean( cfg="cfail3" ) ]
354
327
pub fn function ( ) -> TheEnum {
355
328
TheEnum :: B
356
329
}
@@ -368,8 +341,6 @@ pub mod change_constructor_variant_indirectly_c_like {
368
341
369
342
#[ rustc_clean( cfg="cfail2" , except="HirBody,MirOptimized,MirValidated" ) ]
370
343
#[ rustc_clean( cfg="cfail3" ) ]
371
- #[ rustc_metadata_clean( cfg="cfail2" ) ]
372
- #[ rustc_metadata_clean( cfg="cfail3" ) ]
373
344
pub fn function ( ) -> Clike {
374
345
Variant
375
346
}
0 commit comments