mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +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
|
// 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());
|
let node = self.parse_or_expand(file_id.into());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue