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 5651d8e56d..a916cda730 100644
--- a/crates/hir-def/src/nameres/collector.rs
+++ b/crates/hir-def/src/nameres/collector.rs
@@ -2562,7 +2562,7 @@ impl ModCollector<'_, '_> {
.def_map
.diagnostics
.push(DefDiagnostic::unimplemented_builtin_macro(self.module_id, f_ast_id));
- return;
+ MacroExpander::UnimplementedBuiltIn
}
}
} else {
@@ -2641,7 +2641,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`