mozilla/rust — pull request #5890 by youknowone (2013-04-15 19:12:59+00:00)
Title: Prevent expr_cast hides prior error.

This will help not to meet confusing errors.
In issue #5873, the error was "expected constant expr for vector length: Can't cast str to int".
It was originally "expected constant expr for vector length: Non-constant path in constant expr" (though still invalid error).
This patch make the original error to be printed.