dtolnay / async-trait

Type erasure for async trait methods
Apache License 2.0
1.81k stars 84 forks source link

Async trait is failing in new lint of rust 1.58 #187

Closed augustocdias closed 2 years ago

augustocdias commented 2 years ago

I have a trait with async trait not Send: #[async_trait(?Send)] and after rust 1.58 it fails with the following lint:

https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

dtolnay commented 2 years ago

I believe this was fixed many months ago. If you're still seeing this you will need to provide a minimal compilable example that reproduces the behavior.