File tree 3 files changed +6
-4
lines changed
3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -348,7 +348,7 @@ pub trait Eq: PartialEq<Self> {
348
348
#[ rustc_builtin_macro]
349
349
#[ stable( feature = "builtin_macro_prelude" , since = "1.38.0" ) ]
350
350
#[ allow_internal_unstable( core_intrinsics, derive_eq, structural_match) ]
351
- #[ allow_internal_unstable( coverage_attribute) ]
351
+ #[ cfg_attr ( bootstrap , allow_internal_unstable( coverage_attribute) ) ]
352
352
pub macro Eq ( $item: item) {
353
353
/* compiler built-in */
354
354
}
Original file line number Diff line number Diff line change 107
107
//
108
108
// Library features:
109
109
// tidy-alphabetical-start
110
+ #![ cfg_attr( bootstrap, feature( coverage_attribute) ) ]
110
111
#![ feature( array_ptr_get) ]
111
112
#![ feature( asm_experimental_arch) ]
112
113
#![ feature( const_eval_select) ]
113
114
#![ feature( const_typed_swap) ]
114
115
#![ feature( core_intrinsics) ]
115
- #![ feature( coverage_attribute) ]
116
116
#![ feature( do_not_recommend) ]
117
117
#![ feature( internal_impls_macro) ]
118
118
#![ feature( ip) ]
Original file line number Diff line number Diff line change @@ -1673,7 +1673,8 @@ pub(crate) mod builtin {
1673
1673
///
1674
1674
/// [the reference]: ../../../reference/attributes/testing.html#the-test-attribute
1675
1675
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1676
- #[ allow_internal_unstable( test, rustc_attrs, coverage_attribute) ]
1676
+ #[ allow_internal_unstable( test, rustc_attrs) ]
1677
+ #[ cfg_attr( bootstrap, allow_internal_unstable( coverage_attribute) ) ]
1677
1678
#[ rustc_builtin_macro]
1678
1679
pub macro test( $item: item) {
1679
1680
/* compiler built-in */
@@ -1686,7 +1687,8 @@ pub(crate) mod builtin {
1686
1687
soft,
1687
1688
reason = "`bench` is a part of custom test frameworks which are unstable"
1688
1689
) ]
1689
- #[ allow_internal_unstable( test, rustc_attrs, coverage_attribute) ]
1690
+ #[ allow_internal_unstable( test, rustc_attrs) ]
1691
+ #[ cfg_attr( bootstrap, allow_internal_unstable( coverage_attribute) ) ]
1690
1692
#[ rustc_builtin_macro]
1691
1693
pub macro bench( $item: item) {
1692
1694
/* compiler built-in */
You can’t perform that action at this time.
0 commit comments