summary refs log tree commit diff
path: root/src/test/compile-fail/const-eval-overflow.rs
AgeCommit message (Collapse)AuthorLines
2016-08-04Update wording on E0080Shantanu Raj-28/+28
Change "attempted" to "attempt"
2016-07-22refactor constant evaluation error reportingAriel Ben-Yehuda-28/+56
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-06-05Enable the overflow-related tests for MIRJames Miller-2/+0
2016-03-17Add #[rustc_no_mir] to make tests pass with -Z orbit.Eduard Burtescu-0/+2
2016-03-10typestrong constant integersOliver Schneider-16/+16
2016-01-11[breaking-change] remove negate_unsigned feature gateOliver Schneider-5/+4
2015-10-13implement RFC 1229Oliver Schneider-2/+0
const eval errors outside of true constant enviroments are not reported anymore, but instead forwarded to a lint.
2015-07-14Fix negate_unsigned feature gate checkSimonas Kazlauskas-9/+0
This commit fixes the negate_unsigned feature gate to appropriately account for infered variables. This is technically a [breaking-change].
2015-04-02Test fixes and rebase conflicts, round 2Alex Crichton-0/+1
Conflicts: src/libcore/num/mod.rs
2015-04-02fixes for fallout in tests/compile-failFelix S. Klock II-0/+2
2015-04-01Test cases for checking arithmetic overflow during const eval.Felix S. Klock II-0/+129