From deeac1c588d3487202490280ee64434ad3c45f0c Mon Sep 17 00:00:00 2001 From: Mara Bos Date: Fri, 28 Mar 2025 08:36:16 +0100 Subject: Remove outdated comment. --- compiler/rustc_hir_analysis/src/check/region.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/compiler/rustc_hir_analysis/src/check/region.rs b/compiler/rustc_hir_analysis/src/check/region.rs index 9d99a3ea673..2528adb937b 100644 --- a/compiler/rustc_hir_analysis/src/check/region.rs +++ b/compiler/rustc_hir_analysis/src/check/region.rs @@ -774,7 +774,6 @@ fn resolve_local<'tcx>( impl<'tcx> ScopeResolutionVisitor<'tcx> { /// Records the current parent (if any) as the parent of `child_scope`. - /// Returns the depth of `child_scope`. fn record_child_scope(&mut self, child_scope: Scope) { let parent = self.cx.parent; self.scope_tree.record_scope_parent(child_scope, parent); -- cgit 1.4.1-3-g733a5