about summary refs log tree commit diff
path: root/src/tools
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2024-12-22 14:26:54 +1100
committerZalathar <Zalathar@users.noreply.github.com>2024-12-23 12:30:37 +1100
commit87c2f9a5be900e835f3c41cec2886d54ec0ca012 (patch)
treeb7548375a1615723e3e08855c54257c7b50b0b74 /src/tools
parent5a14967f7b0504d64fa51400c8776a1b55731c31 (diff)
downloadrust-87c2f9a5be900e835f3c41cec2886d54ec0ca012.tar.gz
rust-87c2f9a5be900e835f3c41cec2886d54ec0ca012.zip
Revert "Auto merge of #130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser"
This reverts commit 1d35638dc38dbfbf1cc2a9823135dfcf3c650169, reversing
changes made to f23a80a4c2fbca593b64e70f5970368824b4c5e9.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/rust-analyzer/crates/hir-expand/src/inert_attr_macro.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rust-analyzer/crates/hir-expand/src/inert_attr_macro.rs b/src/tools/rust-analyzer/crates/hir-expand/src/inert_attr_macro.rs
index 2bba410de02..9a7a1a01a09 100644
--- a/src/tools/rust-analyzer/crates/hir-expand/src/inert_attr_macro.rs
+++ b/src/tools/rust-analyzer/crates/hir-expand/src/inert_attr_macro.rs
@@ -237,7 +237,7 @@ pub const INERT_ATTRIBUTES: &[BuiltinAttribute] = &[
         template!(List: "address, kcfi, memory, thread"), DuplicatesOk,
         experimental!(no_sanitize)
     ),
-    ungated!(coverage, Normal, template!(Word, List: "on|off"), WarnFollowing),
+    gated!(coverage, Normal, template!(Word, List: "on|off"), WarnFollowing, coverage_attribute, experimental!(coverage)),
 
     ungated!(
         doc, Normal, template!(List: "hidden|inline|...", NameValueStr: "string"), DuplicatesOk