-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Point at end of macro arm when encountering EOF #55402
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) |
This comment has been minimized.
This comment has been minimized.
@nikomatsakis Some of this is very hacky, but I feel that the results are really worth it (and difficult to accomplish in a cleaner way without a large refactor). These are the representative output to look at: https://github.com/rust-lang/rust/pull/55402/files#diff-453bf49f4eab03f41a4f7a20c084b3c5 I refrained from further complicating the code to handle the last one with a custom diagnostic because I feel that it is enough of an improvement as it is. (If you disagree, it can certainly be expanded.) |
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.
Seems good. The results are indeed good. I still feel like the message can get better but I'm not sure that what I proposed is an improvement exactly. Thoughts?
0ffaa6c
to
d011313
Compare
This comment has been minimized.
This comment has been minimized.
@bors r+ |
📌 Commit d011313 has been approved by |
⌛ Testing commit d011313 with merge f52204ce1b664dcc16ada1ee65284c4cde7b24ba... |
💔 Test failed - status-travis |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
@bors p=29 rollup fairness |
Point at end of macro arm when encountering EOF Fix #52866.
☀️ Test successful - status-appveyor, status-travis |
Fix #52866.