Alex Crichton
fd95db25b3
Merge remote-tracking branch 'origin/master' into proc_macro_api
2017-07-05 08:42:13 -07:00
Ariel Ben-Yehuda
77f4022303
Revert "Change error count messages"
...
This reverts commit 5558c64f33 .
2017-07-02 13:49:30 +03:00
Alex Crichton
4012b8dc4a
Update UI test with proc_macro changes
2017-06-26 02:08:11 +00:00
Jeffrey Seyfried
d4488b7df9
Simplify hygiene::Mark application, and
...
remove variant `Token::SubstNt` in favor of `quoted::TokenTree::MetaVar`.
2017-06-26 02:05:45 +00:00
Guillaume Gomez
a333be7cfe
Add new error code
2017-05-30 19:19:34 +02:00
Michael Kohl
5558c64f33
Change error count messages
...
See #33525 for details.
2017-05-24 16:14:38 +07:00
Ariel Ben-Yehuda
d648c10e5b
libsyntax/parse: improve associated item error reporting
...
Fixes #41161 .
Fixes #41239 .
2017-04-17 21:25:35 +03:00
Esteban Küber
4c80170782
Point at only one char on Span::next_point
...
Avoid pointing at two chars so the diagnostic output doesn't display a
multiline span when starting beyond a line end.
2017-04-10 14:03:17 -07:00
Esteban Küber
b477682dca
Fix unittests
2017-03-27 19:13:03 -07:00
Esteban Küber
78ae8feebb
Improve wording and spans for unexpected token
...
* 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.
2017-03-25 15:36:59 -07:00