about summary refs log tree commit diff
path: root/src/test/compile-fail/const-eval-span.rs
AgeCommit message (Collapse)AuthorLines
2017-12-14Move compile-fail tests with NOTE/HELP annotations to UIVadim Petrochenkov-26/+0
2017-02-25rustc_const_eval: always demand typeck_tables for evaluating constants.Eduard-Mihai Burtescu-3/+4
2016-07-22refactor constant evaluation error reportingAriel Ben-Yehuda-1/+2
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-1/+1
2015-11-27implement calling of `const fn`-methods in true constantsOliver Schneider-1/+1
2015-10-19allow constant evaluation of function callsOliver Schneider-1/+1
2015-10-03Provide the context for error in constant evaluation of enum discriminantSeo Sanghyeon-0/+24