Skip to content

Commit ac6d2c8

Browse files
Zalathargitbot
authored and
gitbot
committed
Revert "Auto merge of rust-lang#130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser"
This reverts commit cd63cc68e5d11d2996acf12d0f8562de54142da4, reversing changes made to f23a80a.
1 parent e879a18 commit ac6d2c8

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

core/src/cmp.rs

+1-1
Original file line numberDiff line numberDiff 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-
#[cfg_attr(bootstrap, allow_internal_unstable(coverage_attribute))]
351+
#[allow_internal_unstable(coverage_attribute)]
352352
pub macro Eq($item:item) {
353353
/* compiler built-in */
354354
}

core/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,13 @@
107107
//
108108
// Library features:
109109
// tidy-alphabetical-start
110-
#![cfg_attr(bootstrap, feature(coverage_attribute))]
111110
#![cfg_attr(bootstrap, feature(do_not_recommend))]
112111
#![feature(array_ptr_get)]
113112
#![feature(asm_experimental_arch)]
114113
#![feature(const_eval_select)]
115114
#![feature(const_typed_swap)]
116115
#![feature(core_intrinsics)]
116+
#![feature(coverage_attribute)]
117117
#![feature(internal_impls_macro)]
118118
#![feature(ip)]
119119
#![feature(is_ascii_octdigit)]

core/src/macros/mod.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -1673,8 +1673,7 @@ 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)]
1677-
#[cfg_attr(bootstrap, allow_internal_unstable(coverage_attribute))]
1676+
#[allow_internal_unstable(test, rustc_attrs, coverage_attribute)]
16781677
#[rustc_builtin_macro]
16791678
pub macro test($item:item) {
16801679
/* compiler built-in */
@@ -1687,8 +1686,7 @@ pub(crate) mod builtin {
16871686
soft,
16881687
reason = "`bench` is a part of custom test frameworks which are unstable"
16891688
)]
1690-
#[allow_internal_unstable(test, rustc_attrs)]
1691-
#[cfg_attr(bootstrap, allow_internal_unstable(coverage_attribute))]
1689+
#[allow_internal_unstable(test, rustc_attrs, coverage_attribute)]
16921690
#[rustc_builtin_macro]
16931691
pub macro bench($item:item) {
16941692
/* compiler built-in */

0 commit comments

Comments
 (0)