fn record_rvalue_scope_if_borrow_expr<'tcx>(
visitor: &mut RegionResolutionVisitor<'tcx>,
expr: &Expr<'_>,
blk_id: Option<Scope>
)Expand description
If expr matches the E& grammar, then records an extended rvalue scope as appropriate:
E& = & ET
| StructName { ..., f: E&, ... }
| [ ..., E&, ... ]
| ( ..., E&, ... )
| {...; E&}
| box E&
| E& as ...
| ( E& )