Skip to content

Commit 0e6aa45

Browse files
committed
update comment on record_rvalue_scope_if_borrow_expr
1 parent 61dba61 commit 0e6aa45

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
@@ -603,15 +603,14 @@ fn resolve_local<'tcx>(
603603
/// ```text
604604
/// E& = & ET
605605
/// | StructName { ..., f: E&, ... }
606+
/// | Constructor(..., E&, ...)
606607
/// | [ ..., E&, ... ]
607608
/// | ( ..., E&, ... )
608609
/// | {...; E&}
609610
/// | { super let ... = E&; ... }
610611
/// | if _ { ...; E& } else { ...; E& }
611612
/// | match _ { ..., _ => E&, ... }
612-
/// | box E&
613613
/// | E& as ...
614-
/// | ( E& )
615614
/// ```
616615
fn record_rvalue_scope_if_borrow_expr<'tcx>(
617616
visitor: &mut ScopeResolutionVisitor<'tcx>,

0 commit comments

Comments
 (0)