mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2026-03-12 20:00:31 +00:00
Merge pull request #21436 from cry-inc/bugfix/fix-ignore-attribute-with-reason
Fix ignore flag for test attributes with values
This commit is contained in:
commit
e42e8ff582
@ -135,6 +135,7 @@ fn match_attr_flags(attr_flags: &mut AttrFlags, attr: Meta) -> ControlFlow<Infal
|
||||
match attr {
|
||||
Meta::NamedKeyValue { name: Some(name), value, .. } => match name.text() {
|
||||
"deprecated" => attr_flags.insert(AttrFlags::IS_DEPRECATED),
|
||||
"ignore" => attr_flags.insert(AttrFlags::IS_IGNORE),
|
||||
"lang" => attr_flags.insert(AttrFlags::LANG_ITEM),
|
||||
"path" => attr_flags.insert(AttrFlags::HAS_PATH),
|
||||
"unstable" => attr_flags.insert(AttrFlags::IS_UNSTABLE),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user