| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-08-14 | Moved compile-fail tests to ui tests. | David Wood | -20/+0 | |
| 2018-05-12 | Make the `const_err` lint `deny`-by-default | Oliver Schneider | -3/+2 | |
| 2018-04-24 | Warn on all erroneous constants | Oliver Schneider | -0/+1 | |
| 2018-03-08 | Update compile-fail tests | Oliver Schneider | -1/+0 | |
| 2018-03-08 | Update tests | Oliver Schneider | -0/+1 | |
| 2018-03-08 | Fully use miri in trans | Oliver Schneider | -0/+2 | |
| 2016-07-22 | refactor constant evaluation error reporting | Ariel 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-06-05 | rustc_const_eval: track the length and index in IndexOutOfBounds. | Eduard Burtescu | -1/+2 | |
| 2016-05-07 | Translate constants from MIR instead of going through trans::expr/consts. | Eduard Burtescu | -1/+1 | |
| 2015-10-04 | Fix LLVM assertion on out-of-bounds const slice index. | Jed Davis | -0/+16 | |
| This turned up as part of #3170. When constructing an `undef` value to return in the error case, we were trying to get the element type of the Rust-level value being indexed instead of the underlying array; when indexing a slice, that's not an array and the LLVM assertion failure reflects this. The regression test is a lightly altered copy of `const-array-oob.rs`. | ||||
