mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
dcb8800b2d
Using `e.span.from_expansion()` alone prevented the lint from firing within compiler-desugared expressions, e.g. `async fn`, `for` loops, or `?`. changelog: [`useless_conversion`]: also fire inside compiler desugarings close rust-lang/rust-clippy#16590