Fix issue with ignore attribute for tests where the attribute has a value with the reason
This commit is contained in:
parent
66ba447208
commit
bcf059c81e
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue