fixed tests

This commit is contained in:
Ishan Jain 2024-06-14 09:52:46 +05:30
parent 7c37e57426
commit 0adb0e114f
No known key found for this signature in database
GPG key ID: 0506DB2A1CC75C27

View file

@ -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());