summary refs log tree commit diff
path: root/src/test/ui/token
AgeCommit message (Collapse)AuthorLines
2017-04-17libsyntax/parse: improve associated item error reportingAriel Ben-Yehuda-1/+9
Fixes #41161. Fixes #41239.
2017-04-10Point at only one char on `Span::next_point`Esteban Küber-0/+23
Avoid pointing at two chars so the diagnostic output doesn't display a multiline span when starting beyond a line end.
2017-03-27Fix unittestsEsteban Küber-1/+5
2017-03-25Improve wording and spans for unexpected tokenEsteban Küber-0/+170
* Point at where the token was expected instead of the last token successfuly parsed. * Only show `unexpected token` if the next char and the unexpected token don't have the same span. * Change some cfail and pfail tests to ui test. * Don't show all possible tokens in span label if they are more than 6.