]> git.lizzy.rs Git - rust.git/commit
Force locals to be live after they are borrowed for immovable generators. Fixes ...
authorJohn Kåre Alsaker <john.kare.alsaker@gmail.com>
Mon, 29 Jan 2018 07:48:56 +0000 (08:48 +0100)
committerJohn Kåre Alsaker <john.kare.alsaker@gmail.com>
Tue, 30 Jan 2018 11:50:42 +0000 (12:50 +0100)
commit56473562c5ca1937ffd667c2d258f0028c734eba
tree55059c975cacb8e14717d7c5bac49f91f1d66fba
parent4325c6375ecf7beaa2aedea2f0d3219b856e5bd2
Force locals to be live after they are borrowed for immovable generators. Fixes #47736
src/librustc_mir/dataflow/impls/borrowed_locals.rs [new file with mode: 0644]
src/librustc_mir/dataflow/impls/mod.rs
src/librustc_mir/dataflow/mod.rs
src/librustc_mir/transform/generator.rs
src/test/run-pass/generator/too-live-local-in-immovable-gen.rs [new file with mode: 0644]