about summary refs log tree commit diff
path: root/src/test/parse-fail/issue-24780.rs
AgeCommit message (Collapse)AuthorLines
2018-10-21Move parse-fail tests to UIVadim Petrochenkov-20/+0
2018-01-27Add testsVadim Petrochenkov-1/+1
2016-02-08Breaking tokens into pieces should behave similar to Parser::bump.Tomasz Miąsko-0/+20
Previously when breaking tokens into smaller pieces, the replace_token function have been used. It replaced current token and updated span information, but it did not clear the list of expected tokens, neither did it update remaining info about last token. This could lead to incorrect error message, like one described in the issue #24780: expected one of ... `>` ... found `>`