I'm unsure whether this is just a limitation of the syn crate or a design choice within this crate, but when i use the async_trait macro on an associated impl, it gives the error expected trait impl. It's not the end of the world, i can make a separate trait for it, but that would be a little annoying to do.
expected behavior
I would expect asociated impls to be treated the same as trait impls, but maybe that's a me issue lol.
description
I'm unsure whether this is just a limitation of the syn crate or a design choice within this crate, but when i use the
async_trait
macro on an associated impl, it gives the errorexpected trait impl
. It's not the end of the world, i can make a separate trait for it, but that would be a little annoying to do.expected behavior
I would expect asociated impls to be treated the same as trait impls, but maybe that's a me issue lol.
versions
rust
version: 1.70.0async_trait
version: 0.1.69minimal example
playground link