summary refs log tree commit diff
path: root/src/test/compile-fail/const-pattern-not-const-evaluable.rs
AgeCommit message (Collapse)AuthorLines
2017-04-23rustc_const_eval: support all unit enum variants.Eduard-Mihai Burtescu-5/+6
2016-10-26remove StaticInliner and NaN checkingAriel Ben-Yehuda-3/+1
NaN checking was a lint for a deprecated feature. It can go away.
2016-10-26change match checking to use HAIRAriel Ben-Yehuda-4/+4
no intended functional changes
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