Rename the feature, but not the attribute, to coverage_attribute
This commit is contained in:
parent
de1600d110
commit
679267f2ac
10 changed files with 12 additions and 11 deletions
|
@ -400,7 +400,7 @@ declare_features! (
|
|||
(active, const_try, "1.56.0", Some(74935), None),
|
||||
/// Allows function attribute `#[coverage(on/off)]`, to control coverage
|
||||
/// instrumentation of that function.
|
||||
(active, coverage, "CURRENT_RUSTC_VERSION", Some(84605), None),
|
||||
(active, coverage_attribute, "CURRENT_RUSTC_VERSION", Some(84605), None),
|
||||
/// Allows non-builtin attributes in inner attribute position.
|
||||
(active, custom_inner_attributes, "1.30.0", Some(54726), None),
|
||||
/// Allows custom test frameworks with `#![test_runner]` and `#[test_case]`.
|
||||
|
|
|
@ -395,7 +395,7 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
|
|||
template!(List: "address, kcfi, memory, thread"), DuplicatesOk,
|
||||
experimental!(no_sanitize)
|
||||
),
|
||||
gated!(coverage, Normal, template!(Word, List: "on|off"), WarnFollowing, experimental!(coverage)),
|
||||
gated!(coverage, Normal, template!(Word, List: "on|off"), WarnFollowing, coverage_attribute, experimental!(coverage)),
|
||||
|
||||
ungated!(
|
||||
doc, Normal, template!(List: "hidden|inline|...", NameValueStr: "string"), DuplicatesOk
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue