1
Fork 0

Rename the feature, but not the attribute, to coverage_attribute

This commit is contained in:
Andy Caldwell 2023-08-24 20:15:41 +01:00
parent de1600d110
commit 679267f2ac
No known key found for this signature in database
GPG key ID: D4204541AC1D228D
10 changed files with 12 additions and 11 deletions

View file

@ -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