mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
Ignore text and bench attributes again
This commit is contained in:
parent
55d4813561
commit
798c53925a
2 changed files with 6 additions and 0 deletions
|
@ -34,6 +34,11 @@ macro_rules! rustc_attr {
|
|||
};
|
||||
}
|
||||
|
||||
// FIXME: We shouldn't special case these at all, but as of now expanding attributes severely degrades
|
||||
// user experience due to lacking support.
|
||||
/// 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