-
Notifications
You must be signed in to change notification settings - Fork 1.6k
identity_conversion
triggered when coming from ?
desugaring
#3944
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
Comments
This is already tracked in #3913 |
I just tried to fix this here: flip1995@621a435 But that didn't work, because the |
@flip1995 I believe we can get around that by touching https://github.com/rust-lang/rust/blob/9217fe0e2f04d61dd29c9aaebee2c993705e1d26/src/librustc/hir/lowering.rs#L4667-L4774 We can mark any of the mentioned spans with |
Clippy in 1.35.0 has an incorrect lint: rust-lang/rust-clippy#3944
Clippy in 1.35.0 has an incorrect lint: rust-lang/rust-clippy#3944
I got the following error:
It seems to me that the
.into()
that's being complained about is coming from the?
operator. The lint should verify that the span isn't coming from this desugaring before triggering.The text was updated successfully, but these errors were encountered: