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.
def_crate
1 parent bb1002b commit 881c7a6Copy full SHA for 881c7a6
crates/hir_expand/src/hygiene.rs
@@ -30,7 +30,7 @@ impl Hygiene {
30
let loc = db.lookup_intern_macro(id);
31
match loc.def.kind {
32
MacroDefKind::Declarative => (loc.def.krate, loc.def.local_inner),
33
- MacroDefKind::BuiltIn(_) => (None, false),
+ MacroDefKind::BuiltIn(_) => (loc.def.krate, false),
34
MacroDefKind::BuiltInDerive(_) => (None, false),
35
MacroDefKind::BuiltInEager(_) => (None, false),
36
MacroDefKind::ProcMacro(_) => (None, false),
0 commit comments