summary refs log tree commit diff
path: root/src/librustc_const_eval/diagnostics.rs
AgeCommit message (Collapse)AuthorLines
2016-08-05Add error code check in librustc_const_eval/diagnostics.rsGuillaume Gomez-22/+26
2016-07-22refactor constant evaluation error reportingAriel Ben-Yehuda-20/+22
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-01Fix E0165 code examplesGuillaume Gomez-3/+4
2016-05-27* Fix compile_fail tag (in some cases, it compiled whereas it wasn't ↵Guillaume Gomez-1/+3
expected to and was still considered 'ok') * Fix error explanations tests/tags
2016-05-12Add more details and examples in error codeggomez-4/+9
2016-05-03add help on pattern guardmrmiywj-10/+51
fix too long column fix typo of help on pattern guard one nit fix compile fail
2016-03-30move `const_eval` and `check_match` out of `librustc`Oliver Schneider-0/+545