Module rustc_hir_typeck::rvalue_scopes
source · Functions
- Applied to an expression
exprifexpr– 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” orexpris extended to be the block enclosing theletstatement.