| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-06-05 | Refactor the const eval diagnostic API | Oliver Schneider | -4/+4 | |
| 2018-05-12 | Make the `const_err` lint `deny`-by-default | Oliver Schneider | -2/+2 | |
| 2018-03-08 | Unify the const folding errors | Oliver Schneider | -2/+0 | |
| before they differed depending on whether optimizations were on or not | ||||
| 2018-03-08 | Adjust tests to more aggressive const err linting | Oliver Schneider | -0/+2 | |
| 2018-03-08 | Fully use miri in trans | Oliver Schneider | -6/+9 | |
| 2016-08-04 | Update wording on E0080 | Shantanu Raj | -2/+2 | |
| Change "attempted" to "attempt" | ||||
| 2016-07-22 | refactor constant evaluation error reporting | Ariel Ben-Yehuda | -2/+4 | |
| 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-03-10 | typestrong constant integers | Oliver Schneider | -1/+2 | |
| 2015-03-03 | Address arith-overflow and error-handling in `const_eval.rs`. | Felix S. Klock II | -2/+2 | |
| 1. Detect and report arithmetic overflow during const-expr eval. 2. Instead `eval_const_expr_partial` returning `Err(String)`, it now has a dedicated enum of different cases. The main benefit of this is the ability to pass along an interpretable payload, namely the two inputs that caused an overlfow. I attempted to minimize fallout to error output in tests, but some was unavoidable. Those changes are in a follow-on commit. | ||||
| 2014-02-07 | Added tests to make tidy | Derek Guenther | -0/+10 | |
| 2013-05-01 | Revert rename of Div to Quot | Brendan Zabarauskas | -1/+1 | |
| 2013-04-24 | Improve divide-by-zero error messages | Brendan Zabarauskas | -2/+2 | |
| 2013-04-22 | Rename Div operator trait to Quot and Modulo operator trait to Rem | Brendan Zabarauskas | -2/+2 | |
| 2013-01-23 | Handle divide by zero in constant evaluator | Seo Sanghyeon | -0/+6 | |
