File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 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> {
348348#[ rustc_builtin_macro]
349349#[ stable( feature = "builtin_macro_prelude" , since = "1.38.0" ) ]
350350#[ allow_internal_unstable( core_intrinsics, derive_eq, structural_match) ]
351- #[ allow_internal_unstable( coverage_attribute) ]
351+ #[ cfg_attr ( bootstrap , allow_internal_unstable( coverage_attribute) ) ]
352352pub macro Eq ( $item: item) {
353353 /* compiler built-in */
354354}
Original file line number Diff line number Diff line change 107107//
108108// Library features:
109109// tidy-alphabetical-start
110+ #![ cfg_attr( bootstrap, feature( coverage_attribute) ) ]
110111#![ feature( array_ptr_get) ]
111112#![ feature( asm_experimental_arch) ]
112113#![ feature( const_eval_select) ]
113114#![ feature( const_typed_swap) ]
114115#![ feature( core_intrinsics) ]
115- #![ feature( coverage_attribute) ]
116116#![ feature( do_not_recommend) ]
117117#![ feature( internal_impls_macro) ]
118118#![ feature( ip) ]
Original file line number Diff line number Diff line change @@ -1673,7 +1673,8 @@ pub(crate) mod builtin {
16731673 ///
16741674 /// [the reference]: ../../../reference/attributes/testing.html#the-test-attribute
16751675 #[ 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) ) ]
16771678 #[ rustc_builtin_macro]
16781679 pub macro test( $item: item) {
16791680 /* compiler built-in */
@@ -1686,7 +1687,8 @@ pub(crate) mod builtin {
16861687 soft,
16871688 reason = "`bench` is a part of custom test frameworks which are unstable"
16881689 ) ]
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) ) ]
16901692 #[ rustc_builtin_macro]
16911693 pub macro bench( $item: item) {
16921694 /* compiler built-in */
You can’t perform that action at this time.
0 commit comments