aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/hir_def/src/nameres/collector.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_def/src/nameres/collector.rs b/crates/hir_def/src/nameres/collector.rs
index 492d8c71f..6dbbe2d05 100644
--- a/crates/hir_def/src/nameres/collector.rs
+++ b/crates/hir_def/src/nameres/collector.rs
@@ -836,7 +836,7 @@ impl DefCollector<'_> {
836 self.resolve_derive_macro(directive.module_id, &path) 836 self.resolve_derive_macro(directive.module_id, &path)
837 }) { 837 }) {
838 Ok(call_id) => { 838 Ok(call_id) => {
839 resolved.push((directive.module_id, call_id, 0)); 839 resolved.push((directive.module_id, call_id, directive.depth));
840 res = ReachedFixedPoint::No; 840 res = ReachedFixedPoint::No;
841 return false; 841 return false;
842 } 842 }