dtolnay / async-trait

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

rust-analyzer expected dyn Future, found impl Future #192

Closed takkuumi closed 2 years ago

takkuumi commented 2 years ago

expected Pin<Box<dyn Future<Output = Result<usize, Error>> + Send, Global>>, found Pin<Box<impl Future<Output = Result<usize, Error>>, Global>>

rustc version rustc 1.61.0-nightly (5f3700105 2022-03-22)

dtolnay commented 2 years ago

I would accept a PR if there is an easy fix, but I don't plan to look into this issue. It does not sound like this would be something specific to async-trait.