mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
fixed tests
This commit is contained in:
parent
7c37e57426
commit
0adb0e114f
@ -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…
x
Reference in New Issue
Block a user