We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c37e57 commit 0adb0e1Copy full SHA for 0adb0e1
crates/hir/src/semantics.rs
@@ -345,7 +345,13 @@ impl<'db> SemanticsImpl<'db> {
345
) => {
346
// Do nothing and allow matching macros to be expanded
347
}
348
- _ => return None,
+
349
+ hir_expand::MacroDefKind::BuiltIn(_, _)
350
+ | hir_expand::MacroDefKind::BuiltInAttr(_, _)
351
+ | hir_expand::MacroDefKind::BuiltInEager(_, _)
352
+ | hir_expand::MacroDefKind::BuiltInDerive(_, _) => return None,
353
354
+ _ => (),
355
356
357
let node = self.parse_or_expand(file_id.into());
0 commit comments