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
The tracing crate provides a proc macro named #[instrument]. #[automock] currently fails to compile for structs or traits that contain such a method. For example, this will fail to compile:
use mockall::*;use tracing::instrument;#[automock]pubtraitFoo{#[instrument]fnfoo(&self) -> u32;}
The text was updated successfully, but these errors were encountered:
The tracing crate provides a proc macro named
#[instrument]
.#[automock]
currently fails to compile for structs or traits that contain such a method. For example, this will fail to compile:The text was updated successfully, but these errors were encountered: