We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c089795 commit 506467bCopy full SHA for 506467b
crates/hir_def/src/builtin_attr.rs
@@ -34,9 +34,12 @@ macro_rules! rustc_attr {
34
};
35
}
36
37
-/// Attributes that have a special meaning to rustc or rustdoc.
+/// Built-in macro-like attributes.
38
+pub const EXTRA_ATTRIBUTES: &[BuiltinAttribute] = &["test", "bench"];
39
+
40
+/// "Inert" built-in attributes that have a special meaning to rustc or rustdoc.
41
#[rustfmt::skip]
-pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
42
+pub const INERT_ATTRIBUTES: &[BuiltinAttribute] = &[
43
// ==========================================================================
44
// Stable attributes:
45
0 commit comments