diff options
| author | Andy Caldwell <andycaldwell@microsoft.com> | 2023-08-24 20:15:41 +0100 |
|---|---|---|
| committer | Andy Caldwell <andycaldwell@microsoft.com> | 2023-09-08 12:46:09 +0100 |
| commit | 679267f2ac291202e9c8168edd1df8a9cf3aecb2 (patch) | |
| tree | 9f1389be3144b18f3223ab995ce6cd24482a368a /library | |
| parent | de1600d110749ae6e428eb59ecdce3c0a56f1223 (diff) | |
| download | rust-679267f2ac291202e9c8168edd1df8a9cf3aecb2.tar.gz rust-679267f2ac291202e9c8168edd1df8a9cf3aecb2.zip | |
Rename the feature, but not the attribute, to `coverage_attribute`
Diffstat (limited to 'library')
| -rw-r--r-- | library/core/src/cmp.rs | 2 | ||||
| -rw-r--r-- | library/core/src/lib.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/cmp.rs b/library/core/src/cmp.rs index be9f75deead..6d5133646b5 100644 --- a/library/core/src/cmp.rs +++ b/library/core/src/cmp.rs @@ -301,7 +301,7 @@ pub trait Eq: PartialEq<Self> { #[stable(feature = "builtin_macro_prelude", since = "1.38.0")] #[allow_internal_unstable(core_intrinsics, derive_eq, structural_match)] #[cfg_attr(bootstrap, allow_internal_unstable(no_coverage))] -#[cfg_attr(not(bootstrap), allow_internal_unstable(coverage))] +#[cfg_attr(not(bootstrap), allow_internal_unstable(coverage_attribute))] pub macro Eq($item:item) { /* compiler built-in */ } diff --git a/library/core/src/lib.rs b/library/core/src/lib.rs index e049dcc6eba..7c08d1703cc 100644 --- a/library/core/src/lib.rs +++ b/library/core/src/lib.rs @@ -111,7 +111,7 @@ // Library features: // tidy-alphabetical-start #![cfg_attr(bootstrap, feature(no_coverage))] // rust-lang/rust#84605 -#![cfg_attr(not(bootstrap), feature(coverage))] // rust-lang/rust#84605 +#![cfg_attr(not(bootstrap), feature(coverage_attribute))] // rust-lang/rust#84605 #![feature(char_indices_offset)] #![feature(const_align_of_val)] #![feature(const_align_of_val_raw)] |
