bors d2e2bd1b44 auto merge of : barosl/rust/enum-struct-variants-ice, r=alexcrichton
This pull request tries to fix , which states two ICE cases related to enum struct variants.

It is my first attempt to fix the compiler. I found this solution by trial and error, so the method used to fix the issue looks very hacky. Please review it, and direct me to find a better solution.

I'm also to add test cases. Where should I put them? Maybe `src/test/run-pass/issue-19340.rs`?
2014-12-12 09:12:08 +00:00
..
2014-12-08 13:47:44 -05:00
2014-12-11 11:30:38 -08:00
2014-12-08 13:47:44 -05:00
2014-12-08 13:47:44 -05:00
2014-12-11 11:30:38 -08:00
2014-12-08 13:47:44 -05:00
2014-12-08 13:47:44 -05:00
2014-12-10 09:46:30 -08:00
2014-12-08 13:47:44 -05:00
2014-12-08 13:47:44 -05:00
2014-12-11 11:30:38 -08:00
2014-12-08 13:47:44 -05:00
2014-12-11 11:30:38 -08:00
2014-12-11 11:30:38 -08:00
2014-12-11 11:30:38 -08:00
2014-12-11 11:30:38 -08:00
2014-12-11 11:30:38 -08:00
2014-12-08 13:47:44 -05:00
2014-12-08 13:47:44 -05:00
2014-12-08 13:47:44 -05:00
2014-12-11 11:30:38 -08:00
2014-12-11 11:30:38 -08:00