We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a9a577 commit deeac1cCopy full SHA for deeac1c
compiler/rustc_hir_analysis/src/check/region.rs
@@ -774,7 +774,6 @@ fn resolve_local<'tcx>(
774
775
impl<'tcx> ScopeResolutionVisitor<'tcx> {
776
/// Records the current parent (if any) as the parent of `child_scope`.
777
- /// Returns the depth of `child_scope`.
778
fn record_child_scope(&mut self, child_scope: Scope) {
779
let parent = self.cx.parent;
780
self.scope_tree.record_scope_parent(child_scope, parent);
0 commit comments