mozilla/rust — pull request #5055 by youknowone (2013-02-20 17:54:07+00:00)
Title: Check type of fields when struct is matched against enum-like pattern

Try field type pattern check instead of ad-hoc type check.
Fix #4849