about summary refs log tree commit diff
path: root/src/test/compile-fail/invalid-path-in-const.rs
AgeCommit message (Collapse)AuthorLines
2017-12-14Move compile-fail tests with NOTE/HELP annotations to UIVadim Petrochenkov-14/+0
2017-02-25rustc_const_eval: always demand typeck_tables for evaluating constants.Eduard-Mihai Burtescu-2/+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.
2015-09-30Don't crash on non-existent path in constant.Eli Friedman-0/+14
The behavior here isn't really ideal, but we can't really do much better given the current state of constant evaluation. Fixes #28670, and probably a bunch of duplicates.