Closed itmecho closed 4 years ago
OK, I set the version to =0.1.34
and rerun clippy and the error isn't there so it must be in the latest release.
I have also just updated to rust 1.44.1
but it's still happening so I'm assuming it isn't related to https://github.com/rust-lang/rust-clippy/issues/5356
Thanks! Fixed in 0.1.36.
Thanks for the speedy fix!
I have a
Cargo.lock
file which hasasync-trait
locked to version0.1.31
but it's not committed. When I run clippy, I get no error. If I remove that lock file and run clippy again, cargo downloads0.1.35
and I get an error about needless explicit lifetimes.Trait
Implementation
Clippy error:
If I change the method signature in the implementation to the following, the error goes away. From the README, it seems like this shouldn't be necessary?