File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
crates/hir-def/src/nameres Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -1163,7 +1163,7 @@ impl DefCollector<'_> {
1163
1163
let loc: MacroCallLoc = self . db . lookup_intern_macro_call ( call_id) ;
1164
1164
1165
1165
if let MacroDefKind :: ProcMacro ( expander, _, _) = loc. def . kind {
1166
- if expander. is_dummy ( ) || expander . is_disabled ( ) {
1166
+ if expander. is_dummy ( ) {
1167
1167
// If there's no expander for the proc macro (e.g.
1168
1168
// because proc macros are disabled, or building the
1169
1169
// proc macro crate failed), report this and skip
@@ -1176,6 +1176,9 @@ impl DefCollector<'_> {
1176
1176
) ,
1177
1177
) ;
1178
1178
1179
+ res = ReachedFixedPoint :: No ;
1180
+ return false ;
1181
+ } else if expander. is_disabled ( ) {
1179
1182
res = ReachedFixedPoint :: No ;
1180
1183
return false ;
1181
1184
}
You can’t perform that action at this time.
0 commit comments