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 @@ -1133,7 +1133,7 @@ impl DefCollector<'_> {
1133
1133
let loc: MacroCallLoc = self . db . lookup_intern_macro_call ( call_id) ;
1134
1134
1135
1135
if let MacroDefKind :: ProcMacro ( expander, _, _) = loc. def . kind {
1136
- if expander. is_dummy ( ) || expander . is_disabled ( ) {
1136
+ if expander. is_dummy ( ) {
1137
1137
// If there's no expander for the proc macro (e.g.
1138
1138
// because proc macros are disabled, or building the
1139
1139
// proc macro crate failed), report this and skip
@@ -1146,6 +1146,9 @@ impl DefCollector<'_> {
1146
1146
) ,
1147
1147
) ;
1148
1148
1149
+ res = ReachedFixedPoint :: No ;
1150
+ return false ;
1151
+ } else if expander. is_disabled ( ) {
1149
1152
res = ReachedFixedPoint :: No ;
1150
1153
return false ;
1151
1154
}
You can’t perform that action at this time.
0 commit comments