summary refs log tree commit diff
path: root/src/test/compile-fail/const-pattern-not-const-evaluable.rs
AgeCommit message (Collapse)AuthorLines
2016-07-22refactor constant evaluation error reportingAriel Ben-Yehuda-6/+10
Refactor constant evaluation to use a single error reporting function that reports a type-error-like message. Also, unify all error codes with the "constant evaluation error" message to just E0080, and similarly for a few other duplicate codes. The old situation was a total mess, and now that we have *something* we can further iterate on the UX.
2016-04-03check constants even if they are unused in the current crateOliver Schneider-3/+3
2015-12-06add test for const eval errors in patternsOliver Schneider-0/+39