about summary refs log tree commit diff
path: root/src/test/parse-fail/issue-23620-invalid-escapes.rs
AgeCommit message (Collapse)AuthorLines
2018-10-21Move parse-fail tests to UIVadim Petrochenkov-48/+0
2017-08-17Accept underscores in unicode escapesMalo Jaffré-5/+4
Fixes #43692.
2016-03-30fix compile-fail and parse-fail tests by blindly opting back intoFelix S. Klock II-0/+2
parser recovery (so that expected errors match up) I'm opting into parser recovery in all these cases out of expediency, not because the error messages you get with recovery enabled are actually all that usable in all cases listed.
2015-07-29Replace illegal with invalid in most diagnosticsSimonas Kazlauskas-7/+7
2015-07-13Tell unicode escapes can’t be used as bytes earlier/moreSimonas Kazlauskas-3/+5
2015-07-10Improve incomplete unicode escape reportingSimonas Kazlauskas-1/+1
This improves diagnostic messages when \u escape is used incorrectly and { is missing. Instead of saying “unknown character escape: u”, it will now report that unicode escape sequence is incomplete and suggest what the correct syntax is.
2015-03-27Prevent ICEs when parsing invalid escapes, closes #23620Florian Hahn-0/+45