Debian Codegraph @

third_party/rust/tracing-attributes/tests/ui/const_instrument.stderr

raw
1 error: macros that expand to items must be delimited with braces or followed by a semicolon
2 --> tests/ui/const_instrument.rs:3:1
3 |
4 3 | #[tracing::instrument]
5 | ^^^^^^^^^^^^^^^^^^^^^^
6 |
7 = note: this error originates in the attribute macro `tracing::instrument` (in Nightly builds, run with -Z macro-backtrace for more info)
8
9 error: the `#[instrument]` attribute may not be used with `const fn`s
10 --> tests/ui/const_instrument.rs:3:1
11 |
12 3 | #[tracing::instrument]
13 | ^^^^^^^^^^^^^^^^^^^^^^
14 |
15 = note: this error originates in the attribute macro `tracing::instrument` (in Nightly builds, run with -Z macro-backtrace for more info)