1error: macros that expand to items must be delimited with braces or followed by a semicolon
2 --> tests/ui/const_instrument.rs:3:1
3  |
43 | #[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
9error: the `#[instrument]` attribute may not be used with `const fn`s
10 --> tests/ui/const_instrument.rs:3:1
11  |
123 | #[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)
16