about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/validate_attr.rs
diff options
context:
space:
mode:
authorSasha Pourcelot <sasha.pourcelot@protonmail.com>2025-07-13 11:51:22 +0200
committerSasha Pourcelot <sasha.pourcelot@protonmail.com>2025-07-16 15:51:18 +0200
commit4e054fc4c4809a3c1df60ea99077f4d662b79750 (patch)
tree4d2c1b0b6a0b8374aef15d76dcb05df147f35f95 /compiler/rustc_parse/src/validate_attr.rs
parentf21fbac535ab2c3bc50db20547f4d48477357103 (diff)
downloadrust-4e054fc4c4809a3c1df60ea99077f4d662b79750.tar.gz
rust-4e054fc4c4809a3c1df60ea99077f4d662b79750.zip
Port `#[coverage]` to the new attribute system
Diffstat (limited to 'compiler/rustc_parse/src/validate_attr.rs')
-rw-r--r--compiler/rustc_parse/src/validate_attr.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_parse/src/validate_attr.rs b/compiler/rustc_parse/src/validate_attr.rs
index 783d79d978a..a476f0db37e 100644
--- a/compiler/rustc_parse/src/validate_attr.rs
+++ b/compiler/rustc_parse/src/validate_attr.rs
@@ -318,6 +318,7 @@ pub fn check_builtin_meta_item(
                 | sym::rustc_layout_scalar_valid_range_end
                 | sym::no_implicit_prelude
                 | sym::automatically_derived
+                | sym::coverage
         ) {
             return;
         }