Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-def/src/nameres/collector.rs')
-rw-r--r--crates/hir-def/src/nameres/collector.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/hir-def/src/nameres/collector.rs b/crates/hir-def/src/nameres/collector.rs
index 8e16c5ece6..7a69e512d8 100644
--- a/crates/hir-def/src/nameres/collector.rs
+++ b/crates/hir-def/src/nameres/collector.rs
@@ -2560,7 +2560,7 @@ impl ModCollector<'_, '_> {
.def_map
.diagnostics
.push(DefDiagnostic::unimplemented_builtin_macro(self.module_id, f_ast_id));
- return;
+ MacroExpander::UnimplementedBuiltIn
}
}
} else {
@@ -2639,7 +2639,7 @@ impl ModCollector<'_, '_> {
.def_map
.diagnostics
.push(DefDiagnostic::unimplemented_builtin_macro(self.module_id, f_ast_id));
- return;
+ MacroExpander::UnimplementedBuiltIn
}
} else {
// Case 2: normal `macro`