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