-
Notifications
You must be signed in to change notification settings - Fork 1.8k
fix(multiple_unsafe_ops_per_block): ignore unsafe ops from .await
desugaring
#15654
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
fix(multiple_unsafe_ops_per_block): ignore unsafe ops from .await
desugaring
#15654
Conversation
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.
#![allow(clippy::unnecessary_operation)] | ||
#![allow(dropping_copy_types)] | ||
#![allow(clippy::assign_op_pattern)] | ||
#![expect(unused, clippy::unnecessary_operation, dropping_copy_types)] |
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.
There is no reason to expect
the unused
lint, it just happens or not, we want to allow it. Moreover, it is allowed already in our tests, and can be removed entirely.
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.
Oops, you're right. Removed it, thanks:)
Reminder, once the PR becomes ready for a review, use |
7dd5634
to
da6d23b
Compare
@rustbot ready |
Fixes #13879
changelog: [
multiple_unsafe_ops_per_block
]: ignore unsafe ops from.await
desugaring