mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 22:31:43 +00:00
Do not replace items annotated with builtin attrs with the attr input
This commit is contained in:
parent
8dd3a71730
commit
351cec0cb4
4 changed files with 25 additions and 18 deletions
|
@ -34,9 +34,6 @@ macro_rules! rustc_attr {
|
|||
};
|
||||
}
|
||||
|
||||
/// 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 INERT_ATTRIBUTES: &[BuiltinAttribute] = &[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue