about summary refs log tree commit diff
path: root/src/test/compile-fail/const-fn-error.rs
AgeCommit message (Collapse)AuthorLines
2019-01-09Stabilize `let` bindings and destructuring in constants and const fnOliver Scherer-1/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2018-11-30Fix a compile-fail testOliver Scherer-1/+1
2018-11-30Update compile-fail testOliver Scherer-2/+0
2018-11-16adjust remaining testsRalf Jung-0/+1
2018-10-25Rebase falloutOliver Schneider-1/+1
2018-10-25Report const eval error inside the queryOliver Schneider-2/+2
2018-10-03Move platform dependent output ui tests to compile-failOliver Schneider-0/+30
2017-12-14Move compile-fail tests with NOTE/HELP annotations to UIVadim Petrochenkov-30/+0
2017-12-06Update miri to rustc changesOliver Schneider-2/+5
2017-09-11rustc: evaluate fixed-length array length expressions lazily.Eduard-Mihai Burtescu-1/+1
2016-07-22refactor constant evaluation error reportingAriel Ben-Yehuda-2/+3
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-05-07test: adjust for the move to MIR-based const checking.Eduard Burtescu-6/+3
2016-01-15move const block checks before lowering stepOliver Schneider-0/+29
this makes sure the checks run before typeck (which might use the constant or const function to calculate an array length) and gives prettier error messages in case of for loops and such (since they aren't expanded yet).