mozilla/rust — pull request #6200 by catamorphism (2013-05-02 22:42:39+00:00)
Title: rustc: Handle struct patterns where the expected type is an enum

r? @nikomatsakis Previously, rustc would ICE if you matched on an enum-typed thing
with a structure pattern. Error out correctly.