Module rustc_typeck::check::rvalue_scopes
source · Functions
Applied to an expression
expr
if expr
– or something owned or partially owned by
expr
– is going to be indirectly referenced by a variable in a let statement. In that
case, the “temporary lifetime” or expr
is extended to be the block enclosing the let
statement.