diff options
author | Jonas Schievink <[email protected]> | 2021-06-04 15:50:35 +0100 |
---|---|---|
committer | Jonas Schievink <[email protected]> | 2021-06-04 15:50:35 +0100 |
commit | 20de86d0146a442ae7fd44e1638eaf32ab99f2f1 (patch) | |
tree | b568bc88c8e69be5d8f186404e21e86d7e3d949f /crates/hir_def/src/nameres | |
parent | 14153671caaca852c94bd1d0d7f279acb8eb1913 (diff) |
Return `ReachedFixedPoint::No` when resolving derive helper
Diffstat (limited to 'crates/hir_def/src/nameres')
-rw-r--r-- | crates/hir_def/src/nameres/collector.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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<'_> { | |||
1062 | .collect(&[*mod_item]); | 1062 | .collect(&[*mod_item]); |
1063 | 1063 | ||
1064 | // Remove the original directive since we resolved it. | 1064 | // Remove the original directive since we resolved it. |
1065 | res = ReachedFixedPoint::No; | ||
1065 | return false; | 1066 | return false; |
1066 | } | 1067 | } |
1067 | } | 1068 | } |