We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some changes since version 0.1.42 cause problems when also using the tracing crate. This example code:
tracing
#[async_trait] impl SomeTrait for SomeType { #[instrument(skip(self), err)] async fn some_fn(&self) -> Result<(), String> { ... } }
results in the following build error:
expected struct `Pin`, found enum `std::result::Result` this expression has type `Pin<Box<impl futures::Future>>`
0.1.42 works fine. Rust version: rustc 1.52.0-nightly (45b3c2851 2021-03-04)
The text was updated successfully, but these errors were encountered:
This needs to be fixed in the tracing crate. There is some work in tokio-rs/tracing#1228.
Sorry, something went wrong.
This is merged in tracing, I don't know if a release will be published soon, but I guess you can point to the git repo meanwhile.
Edit: tracing-attributes 0.1.14 was just published! See https://crates.io/crates/tracing-attributes/0.1.14
No branches or pull requests
Some changes since version 0.1.42 cause problems when also using the
tracing
crate. This example code:results in the following build error:
0.1.42 works fine. Rust version: rustc 1.52.0-nightly (45b3c2851 2021-03-04)
The text was updated successfully, but these errors were encountered: