We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d45afd commit ab50ec9Copy full SHA for ab50ec9
crates/hir-def/src/nameres/collector.rs
@@ -1164,7 +1164,7 @@ impl DefCollector<'_> {
1164
let loc: MacroCallLoc = self.db.lookup_intern_macro_call(call_id);
1165
1166
if let MacroDefKind::ProcMacro(expander, _, _) = loc.def.kind {
1167
- if expander.is_dummy() || expander.is_disabled() {
+ if expander.is_dummy() {
1168
// If there's no expander for the proc macro (e.g.
1169
// because proc macros are disabled, or building the
1170
// proc macro crate failed), report this and skip
@@ -1177,6 +1177,9 @@ impl DefCollector<'_> {
1177
),
1178
);
1179
1180
+ res = ReachedFixedPoint::No;
1181
+ return false;
1182
+ } else if expander.is_disabled() {
1183
res = ReachedFixedPoint::No;
1184
return false;
1185
}
0 commit comments