@@ -1267,7 +1267,8 @@ pub(crate) mod builtin {
1267
1267
pub macro test( $item: item) { /* compiler built-in */ }
1268
1268
1269
1269
/// Attribute macro applied to a function to turn it into a benchmark test.
1270
- #[ stable ( feature = "rust1" , since = "1.0.0" ) ]
1270
+ #[ unstable ( feature = "test" , issue = "50297" ,
1271
+ reason = "`bench` is a part of custom test frameworks which are unstable" ) ]
1271
1272
#[ allow_internal_unstable ( test, rustc_attrs) ]
1272
1273
#[ rustc_builtin_macro]
1273
1274
#[ rustc_macro_transparency = "semitransparent" ]
@@ -1309,37 +1310,13 @@ pub(crate) mod builtin {
1309
1310
#[ allow_internal_unstable ( core_intrinsics) ]
1310
1311
pub macro Debug ( $item: item) { /* compiler built-in */ }
1311
1312
1312
- /// Unstable implementation detail of the `rustc` compiler, do not use.
1313
- #[ rustc_builtin_macro]
1314
- #[ rustc_macro_transparency = "semitransparent" ]
1315
- #[ stable ( feature = "rust1" , since = "1.0.0" ) ]
1316
- #[ rustc_deprecated (
1317
- since = "1.0.0" ,
1318
- reason = "derive(Decodable) is deprecated in favor of derive(RustcDecodable)" ,
1319
- suggestion = "RustcDecodable" ,
1320
- ) ]
1321
- #[ allow_internal_unstable ( core_intrinsics, libstd_sys_internals) ]
1322
- pub macro Decodable ( $item: item) { /* compiler built-in */ }
1323
-
1324
1313
/// Derive macro generating an impl of the trait `Default`.
1325
1314
#[ rustc_builtin_macro]
1326
1315
#[ rustc_macro_transparency = "semitransparent" ]
1327
1316
#[ stable ( feature = "rust1" , since = "1.0.0" ) ]
1328
1317
#[ allow_internal_unstable ( core_intrinsics) ]
1329
1318
pub macro Default ( $item: item) { /* compiler built-in */ }
1330
1319
1331
- /// Unstable implementation detail of the `rustc` compiler, do not use.
1332
- #[ rustc_builtin_macro]
1333
- #[ rustc_macro_transparency = "semitransparent" ]
1334
- #[ stable ( feature = "rust1" , since = "1.0.0" ) ]
1335
- #[ rustc_deprecated (
1336
- since = "1.0.0" ,
1337
- reason = "derive(Encodable) is deprecated in favor of derive(RustcEncodable)" ,
1338
- suggestion = "RustcEncodable" ,
1339
- ) ]
1340
- #[ allow_internal_unstable ( core_intrinsics) ]
1341
- pub macro Encodable ( $item: item) { /* compiler built-in */ }
1342
-
1343
1320
/// Derive macro generating an impl of the trait `Eq`.
1344
1321
#[ rustc_builtin_macro]
1345
1322
#[ rustc_macro_transparency = "semitransparent" ]
0 commit comments