mozilla/rust — pull request #4233 by catamorphism (2012-12-20 07:04:14+00:00)
Title: Assign correct types to struct-like enum variant constructors

Before, the type was just the enum type itself, which caused an
assertion failure in iter_variant in trans::base.

As per #4229

r? @brson