Skip to content

Commit 9ce5268

Browse files
committed
update comment on record_rvalue_scope_if_borrow_expr
1 parent db7ea4b commit 9ce5268

File tree

1 file changed

+1
-2
lines changed
  • compiler/rustc_hir_analysis/src/check

1 file changed

+1
-2
lines changed

compiler/rustc_hir_analysis/src/check/region.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -610,15 +610,14 @@ fn resolve_local<'tcx>(
610610
/// ```text
611611
/// E& = & ET
612612
/// | StructName { ..., f: E&, ... }
613+
/// | StructName(..., E&, ...)
613614
/// | [ ..., E&, ... ]
614615
/// | ( ..., E&, ... )
615616
/// | {...; E&}
616617
/// | { super let ... = E&; ... }
617618
/// | if _ { ...; E& } else { ...; E& }
618619
/// | match _ { ..., _ => E&, ... }
619-
/// | box E&
620620
/// | E& as ...
621-
/// | ( E& )
622621
/// ```
623622
fn record_rvalue_scope_if_borrow_expr<'tcx>(
624623
visitor: &mut ScopeResolutionVisitor<'tcx>,

0 commit comments

Comments
 (0)