-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Use token description in "expected/found" parse messages #55455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
@@ -2,7 +2,7 @@ error: expected item, found `;` | |||
--> $DIR/issue-49040.rs:11:28 | |||
| | |||
LL | #![allow(unused_variables)]; //~ ERROR expected item, found `;` | |||
| ^ help: consider removing this semicolon |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a regression, don't approve yet.
@@ -2,9 +2,7 @@ error: expected item, found `;` | |||
--> $DIR/issue-46186.rs:13:2 | |||
| | |||
LL | }; //~ ERROR expected item, found `;` | |||
| ^ help: consider removing this semicolon |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also a regression. Not sure what caused it.
📌 Commit 54858d5 has been approved by |
Use token description in "expected/found" parse messages Fix #54309.
☀️ Test successful - status-appveyor, status-travis |
Fix #54309.