Skip to content

Commit 1cae2d6

Browse files
committed
update comment on record_rvalue_scope_if_borrow_expr
1 parent 10b76eb commit 1cae2d6

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
@@ -609,15 +609,14 @@ fn resolve_local<'tcx>(
609609
/// ```text
610610
/// E& = & ET
611611
/// | StructName { ..., f: E&, ... }
612+
/// | StructName(..., E&, ...)
612613
/// | [ ..., E&, ... ]
613614
/// | ( ..., E&, ... )
614615
/// | {...; E&}
615616
/// | { super let ... = E&; ... }
616617
/// | if _ { ...; E& } else { ...; E& }
617618
/// | match _ { ..., _ => E&, ... }
618-
/// | box E&
619619
/// | E& as ...
620-
/// | ( E& )
621620
/// ```
622621
fn record_rvalue_scope_if_borrow_expr<'tcx>(
623622
visitor: &mut ScopeResolutionVisitor<'tcx>,

0 commit comments

Comments
 (0)