-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Use snippet instead of pprinting statement #62638
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
@@ -2,7 +2,7 @@ error: expected `{`, found `foo` | |||
--> $DIR/issue-39848.rs:8:19 | |||
| | |||
LL | if $tgt.has_$field() {} | |||
| -- - help: try placing this code inside a block: `{ foo(); }` | |||
| -- - help: try placing this code inside a block: `{ ) }` |
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 less than ideal, but the test is to avoid ICE regression, not good output.
@bors r+ |
📌 Commit a86aac1 has been approved by |
Use snippet instead of pprinting statement Fix #62554.
☀️ Test successful - checks-azure, checks-travis, status-appveyor |
Fix #62554.