mozilla/rust — pull request #5889 by youknowone (2013-04-15 18:54:44+00:00)
Title: Prevent cast_eval 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 "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.