From 20de86d0146a442ae7fd44e1638eaf32ab99f2f1 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Fri, 4 Jun 2021 16:50:35 +0200 Subject: Return `ReachedFixedPoint::No` when resolving derive helper --- crates/hir_def/src/nameres/collector.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/hir_def/src/nameres') diff --git a/crates/hir_def/src/nameres/collector.rs b/crates/hir_def/src/nameres/collector.rs index b2ce739bd..d0b1db5d1 100644 --- a/crates/hir_def/src/nameres/collector.rs +++ b/crates/hir_def/src/nameres/collector.rs @@ -1062,6 +1062,7 @@ impl DefCollector<'_> { .collect(&[*mod_item]); // Remove the original directive since we resolved it. + res = ReachedFixedPoint::No; return false; } } -- cgit v1.2.3