lint is applied twice to function if it's async #7517
Labels
C-bug
Category: Clippy is not doing the correct thing
C-enhancement
Category: Enhancement of lints, like adding more cases or adding help messages
good-first-issue
These issues are a good way to get started with Clippy
I tried this code:
108 lines of code
(Playground)
I expected to see this happen:
One single warning that the function contains two many lines:
Instead, this happened:
Two warnings with a different starting span
Meta
cargo clippy -V
:0.1.56 (2021-07-29 4927238)
rustc -Vv
:The text was updated successfully, but these errors were encountered: