-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Moved map_err_ignore to restriction and updated help message #6416
Conversation
r? @flip1995 (rust-highfive has picked a reviewer for you, use r? to override) |
r? @yaahc |
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.
wdyt of this help text?
updated help message for the user Co-authored-by: Jane Lusby <[email protected]>
dafda36
to
4bc33d3
Compare
Updated the test and everything looks good to me now as long as we're happy with the other changes in the MR :) |
looks good to me, @ebroto wdyt? |
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 :)
Could we add a test using the _foo
identifier to check that we don't lint?
@ebroto done! |
📌 Commit 5f821fb has been approved by |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
This MR moves map_err_ignore lint from
pedantic
to therestriction
category of lints and updates the help message to give the user an option to ignore the lint by naming the closure variable e.g..map_err(|_ignored| ...
changelog: move map_err_ignore to restriction category