You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mismatched types
expected struct Pin<Box<(dyn futures::Future<Output = Result<Self, CustomerErr>> + std::marker::Send + 'async_trait)>>
found unit type ()
if trait has many impl , i need write a lot #[instrument(skip(pool))]
i think the compiler won't forward attributes from a trait function declaration to all implementations, maybe macros don't have enough context to do that?
Are there other ways to fix it?
The text was updated successfully, but these errors were encountered:
Feature Request
Crates
Motivation
in "#[instrument(skip(pool))]" told me:
if trait has many impl , i need write a lot
#[instrument(skip(pool))]
i think the compiler won't forward attributes from a trait function declaration to all implementations, maybe macros don't have enough context to do that?
Are there other ways to fix it?
The text was updated successfully, but these errors were encountered: