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.