mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 19:23:50 +00:00
Merge #8106
8106: Add builtin macro-like attributes r=jonas-schievink a=jonas-schievink We also have to know about these to resolve them bors r+ Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
This commit is contained in:
commit
dc8e2fea98
@ -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…
Reference in New Issue
Block a user