mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-14 14:13:58 +00:00
fixed tests
This commit is contained in:
parent
7c37e57426
commit
0adb0e114f
1 changed files with 7 additions and 1 deletions
|
@ -345,7 +345,13 @@ impl<'db> SemanticsImpl<'db> {
|
|||
) => {
|
||||
// Do nothing and allow matching macros to be expanded
|
||||
}
|
||||
_ => return None,
|
||||
|
||||
hir_expand::MacroDefKind::BuiltIn(_, _)
|
||||
| hir_expand::MacroDefKind::BuiltInAttr(_, _)
|
||||
| hir_expand::MacroDefKind::BuiltInEager(_, _)
|
||||
| hir_expand::MacroDefKind::BuiltInDerive(_, _) => return None,
|
||||
|
||||
_ => (),
|
||||
}
|
||||
|
||||
let node = self.parse_or_expand(file_id.into());
|
||||
|
|
Loading…
Reference in a new issue