]> git.lizzy.rs Git - rust.git/commit
when suspending, we need to specify for which lifetime to recover
authorRalf Jung <post@ralfj.de>
Fri, 21 Jul 2017 19:43:09 +0000 (12:43 -0700)
committerRalf Jung <post@ralfj.de>
Sun, 30 Jul 2017 08:11:59 +0000 (01:11 -0700)
commit60096b9e8259ba227a0a85fc1a16dca5d3fd2217
treead3b7a5d5cbf6ea86ce9b79334af8ef8da270171
parenta233afa794763846a8d970ecedf763350cc2c067
when suspending, we need to specify for which lifetime to recover

This matters if the lvalues that is suspended involves Deref'ing a reference --
that reference's lifetime will then not be in the type any more
src/librustc/hir/mod.rs
src/librustc/ich/impls_mir.rs
src/librustc/mir/mod.rs
src/librustc/mir/visit.rs
src/librustc_mir/transform/add_validation.rs