We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
record_rvalue_scope_if_borrow_expr
1 parent 61dba61 commit 0e6aa45Copy full SHA for 0e6aa45
compiler/rustc_hir_analysis/src/check/region.rs
@@ -603,15 +603,14 @@ fn resolve_local<'tcx>(
603
/// ```text
604
/// E& = & ET
605
/// | StructName { ..., f: E&, ... }
606
+/// | Constructor(..., E&, ...)
607
/// | [ ..., E&, ... ]
608
/// | ( ..., E&, ... )
609
/// | {...; E&}
610
/// | { super let ... = E&; ... }
611
/// | if _ { ...; E& } else { ...; E& }
612
/// | match _ { ..., _ => E&, ... }
-/// | box E&
613
/// | E& as ...
614
-/// | ( E& )
615
/// ```
616
fn record_rvalue_scope_if_borrow_expr<'tcx>(
617
visitor: &mut ScopeResolutionVisitor<'tcx>,
0 commit comments