]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #12639 : luqmana/rust/struct-variant-pat, r=pcwalton
authorbors <bors@rust-lang.org>
Sat, 1 Mar 2014 11:06:31 +0000 (03:06 -0800)
committerbors <bors@rust-lang.org>
Sat, 1 Mar 2014 11:06:31 +0000 (03:06 -0800)
We weren't passing the node id for the enum and hence it couldn't retrieve the field types for the struct variant we were trying to destructure.

Fixes #11577.


Trivial merge