mozilla/rust — pull request #4358 by jld (2013-01-05 09:09:45+00:00)
Title: Fix consts of nullary univariant enum type.

Currently such consts cause an internal compiler error, but there aren't any tests for them; these changes fix these problems.