Skip to content

Commit 99fc492

Browse files
committed
Rename the feature, but not the attribute, to coverage_attribute
1 parent c8a9047 commit 99fc492

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/src/cmp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ pub trait Eq: PartialEq<Self> {
301301
#[stable(feature = "builtin_macro_prelude", since = "1.38.0")]
302302
#[allow_internal_unstable(core_intrinsics, derive_eq, structural_match)]
303303
#[cfg_attr(bootstrap, allow_internal_unstable(no_coverage))]
304-
#[cfg_attr(not(bootstrap), allow_internal_unstable(coverage))]
304+
#[cfg_attr(not(bootstrap), allow_internal_unstable(coverage_attribute))]
305305
pub macro Eq($item:item) {
306306
/* compiler built-in */
307307
}

core/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
// Library features:
112112
// tidy-alphabetical-start
113113
#![cfg_attr(bootstrap, feature(no_coverage))] // rust-lang/rust#84605
114-
#![cfg_attr(not(bootstrap), feature(coverage))] // rust-lang/rust#84605
114+
#![cfg_attr(not(bootstrap), feature(coverage_attribute))] // rust-lang/rust#84605
115115
#![feature(char_indices_offset)]
116116
#![feature(const_align_of_val)]
117117
#![feature(const_align_of_val_raw)]

0 commit comments

Comments
 (0)