-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Add lint for .. use in fully binded struct #5258
Conversation
0184752
to
fb85dba
Compare
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.
LGTM. 2 NITs left. Remember that you also have to update stderr, after fixing these.
fb85dba
to
041dd54
Compare
041dd54
to
6526b2b
Compare
@bors r+ Thanks! |
📌 Commit 6526b2b has been approved by |
Add lint for .. use in fully binded struct This PR adds the lint `match-wild-in-fully-binded-struct` to prevent the use of the `..` pattern when all fields of the struct are already binded. Fixes: #638 changelog: Add [`rest_pat_in_fully_bound_structs`] lint to warn against the use of `..` in fully binded struct
💔 Test failed - checks-action_test |
@bors retry |
Add lint for .. use in fully binded struct This PR adds the lint `match-wild-in-fully-binded-struct` to prevent the use of the `..` pattern when all fields of the struct are already binded. Fixes: #638 changelog: Add [`rest_pat_in_fully_bound_structs`] lint to warn against the use of `..` in fully binded struct
💔 Test failed - checks-action_test |
6526b2b
to
b4eac00
Compare
@bors r+ |
📌 Commit b4eac00 has been approved by |
Add lint for .. use in fully binded struct This PR adds the lint `match-wild-in-fully-binded-struct` to prevent the use of the `..` pattern when all fields of the struct are already binded. Fixes: #638 changelog: Add [`rest_pat_in_fully_bound_structs`] lint to warn against the use of `..` in fully binded struct
💔 Test failed - checks-action_test |
b4eac00
to
2aa14c9
Compare
@bors r+ |
📌 Commit 2aa14c9 has been approved by |
Add lint for .. use in fully binded struct This PR adds the lint `match-wild-in-fully-binded-struct` to prevent the use of the `..` pattern when all fields of the struct are already binded. Fixes: #638 changelog: Add [`rest_pat_in_fully_bound_structs`] lint to warn against the use of `..` in fully binded struct
💔 Test failed - checks-action_test |
@bors retry |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
This PR adds the lint
match-wild-in-fully-binded-struct
to prevent the use of the..
pattern when all fields of the struct are already binded.Fixes: #638
changelog: Add [
rest_pat_in_fully_bound_structs
] lint to warn against the use of..
in fully binded struct