-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
==
after unsafe block is not correctly recognized
#67347
Comments
@rustbot claim |
This comment has been minimized.
This comment has been minimized.
According to rust/src/libsyntax/util/parser.rs Lines 213 to 232 in a605441
== cannot really be used. But I guess I can fix - , | , etc.
|
I mean, yes |
Triage: I'm going to release assignment due to inactivity. |
Given the following code:
Rust reports error:
However, if I change
==
to+
, Rust would instead mentions that a pair of parens should be added to wrap the block:I guess the error message should probably be updated for the
==
case as well.The text was updated successfully, but these errors were encountered: