-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Suggest adding missing braces in const
block pattern
#130751
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
base: master
Are you sure you want to change the base?
Conversation
7a7b0b1
to
bb10afd
Compare
☔ The latest upstream changes (presumably #133135) made this pull request unmergeable. Please resolve the merge conflicts. |
Unasigning myself from review since this hasn't had any activity in two month, is in a draft state and has some merge conflcits. if you continue this work feel free to reassign me or roll a new reviewer |
Previously it would only suggest wrapping the code in braces in regular expressions; now it does it in patterns too. This is a squashed rebase of rust-lang#78173
bb10afd
to
31af5b0
Compare
@GrigorenkoPV does this still need to be a draft? or is this ready for review? if it's the latter then you can mark it as »ready for review« and the next step would be to assign a random reviewer for this. Thanks |
☔ The latest upstream changes (presumably #139897) made this pull request unmergeable. Please resolve the merge conflicts. |
Fixes #78168.
Builds upon work done in #78173.
TODO:
tests/ui/parser/bad-if-statements.stderr
tests/ui/parser/keyword-const-as-identifier.rs
: Suggest adding missing braces inconst
block pattern #78173 (review)const
block pattern #78173 (comment)