tracing
tracing copied to clipboard
instrument attribute doesn't work with precise capturing
Bug Report
Rust 1.82 introduced precise capturing, see https://blog.rust-lang.org/2024/10/17/Rust-1.82.0.html#precise-capturing-use-syntax
Using this in a function annotated with #[instrument] fails with
expected identifier, found keyword `use`
Version
tracing 0.1.40
Platform
Ubuntu x86_64