]> git.lizzy.rs Git - rust.git/commit
Fix bug when opaque type was nested in another type.
authorAaron Hill <aa1ronham@gmail.com>
Fri, 5 Jul 2019 22:45:56 +0000 (18:45 -0400)
committerAaron Hill <aa1ronham@gmail.com>
Sun, 7 Jul 2019 21:22:07 +0000 (17:22 -0400)
commitec626992fe40ed7752145955d2a2e60228335987
tree43189792ec2f6731345df65aaf9430075f810427
parent8ba9b1019c6e6c514826c5466e84d93f665f975f
Fix bug when opaque type was nested in another type.

Previously, types like (Foo, u8) would not be handled correctly
(where Foo is an 'existential type')
src/librustc_mir/borrow_check/nll/type_check/mod.rs
src/test/run-pass/existential_type_tuple.rs [new file with mode: 0644]