Add builtin macro-like attributes
This commit is contained in:
parent
c089795713
commit
506467b4c8
@ -34,9 +34,12 @@ macro_rules! rustc_attr {
|
||||
};
|
||||
}
|
||||
|
||||
/// Attributes that have a special meaning to rustc or rustdoc.
|
||||
/// Built-in macro-like attributes.
|
||||
pub const EXTRA_ATTRIBUTES: &[BuiltinAttribute] = &["test", "bench"];
|
||||
|
||||
/// "Inert" built-in attributes that have a special meaning to rustc or rustdoc.
|
||||
#[rustfmt::skip]
|
||||
pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
|
||||
pub const INERT_ATTRIBUTES: &[BuiltinAttribute] = &[
|
||||
// ==========================================================================
|
||||
// Stable attributes:
|
||||
// ==========================================================================
|
||||
|
Loading…
x
Reference in New Issue
Block a user