Suggest adding missing braces in const block pattern#130751
Suggest adding missing braces in const block pattern#130751GrigorenkoPV wants to merge 2 commits intorust-lang:mainfrom
const block pattern#130751Conversation
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 |
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. |
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
|
Reminder, once the PR becomes ready for a review, use |
31af5b0 to
2d862ac
Compare
|
☔ The latest upstream changes (presumably #150469) 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.stderrtests/ui/parser/keyword-const-as-identifier.rs: Suggest adding missing braces inconstblock pattern #78173 (review)constblock pattern #78173 (comment)@rustbot author