9137: fix: fix incorrect "unresolved import" error when using derive helpers r=jonas-schievink a=jonas-schievink

Fixes https://github.com/rust-analyzer/rust-analyzer/issues/9133

cursed bug

bors r+

Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
This commit is contained in:
bors[bot] 2021-06-04 14:51:39 +00:00 committed by GitHub
commit 92d91050c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1062,6 +1062,7 @@ impl DefCollector<'_> {
.collect(&[*mod_item]);
// Remove the original directive since we resolved it.
res = ReachedFixedPoint::No;
return false;
}
}