]> git.lizzy.rs Git - rust.git/commit
Fix a bug with yielding subtypes of the yield type.
authorJohn Kåre Alsaker <john.kare.alsaker@gmail.com>
Sat, 15 Jul 2017 01:51:44 +0000 (03:51 +0200)
committerJohn Kåre Alsaker <john.kare.alsaker@gmail.com>
Fri, 28 Jul 2017 13:46:25 +0000 (15:46 +0200)
commit93172045c817ffa998d5e28a0899f33edf889f62
tree2d9f667b7b86acfb14ac1154503e6670162d23fb
parentdcddd807297765b85f11c05f68f0845cc8d372aa
Fix a bug with yielding subtypes of the yield type.
src/librustc_mir/transform/type_check.rs
src/test/run-pass/generator/yield-subtype.rs [new file with mode: 0644]