summary refs log tree commit diff
path: root/src/test/compile-fail/array_const_index-1.rs
AgeCommit message (Collapse)AuthorLines
2018-04-25Warn on all erroneous constantsOliver Schneider-0/+1
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-06-05rustc_const_eval: track the length and index in IndexOutOfBounds.Eduard Burtescu-1/+2
2016-05-07Translate constants from MIR instead of going through trans::expr/consts.Eduard Burtescu-1/+1
2015-11-18allow indexing into constant arraysOliver Schneider-0/+16