about summary refs log tree commit diff
path: root/src/test/compile-fail/const-array-oob.rs
AgeCommit message (Collapse)AuthorLines
2018-08-14Moved compile-fail tests to ui tests.David Wood-24/+0
2018-06-05Refactor the const eval diagnostic APIOliver Schneider-1/+1
2017-02-25rustc_const_eval: always demand typeck_tables for evaluating constants.Eduard-Mihai Burtescu-2/+2
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/+3
2015-11-20add feature gate `const_indexing`Oliver Schneider-0/+2
tracking issue is #29947
2015-11-18allow indexing into constant arraysOliver Schneider-1/+4
2015-03-12Fix LLVM assertion when out-of-bounds indexing in a constantBjörn Steinbrink-0/+16
Fixes #23291