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 10b76eb commit 1cae2d6Copy full SHA for 1cae2d6
compiler/rustc_hir_analysis/src/check/region.rs
@@ -609,15 +609,14 @@ fn resolve_local<'tcx>(
609
/// ```text
610
/// E& = & ET
611
/// | StructName { ..., f: E&, ... }
612
+/// | StructName(..., E&, ...)
613
/// | [ ..., E&, ... ]
614
/// | ( ..., E&, ... )
615
/// | {...; E&}
616
/// | { super let ... = E&; ... }
617
/// | if _ { ...; E& } else { ...; E& }
618
/// | match _ { ..., _ => E&, ... }
-/// | box E&
619
/// | E& as ...
620
-/// | ( E& )
621
/// ```
622
fn record_rvalue_scope_if_borrow_expr<'tcx>(
623
visitor: &mut ScopeResolutionVisitor<'tcx>,
0 commit comments