Closed krojew closed 3 years ago
This needs to be fixed in the tracing crate. There is some work in https://github.com/tokio-rs/tracing/pull/1228.
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
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)