We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0928c37 commit 1da5a52Copy full SHA for 1da5a52
tracing-attributes/tests/instrument.rs
@@ -6,6 +6,7 @@ use tracing_mock::*;
6
// Reproduces a compile error when an instrumented function body contains inner
7
// attributes (https://github.com/tokio-rs/tracing/issues/2294).
8
#[deny(unused_variables)]
9
+#[allow(dead_code)]
10
#[instrument]
11
fn repro_2294() {
12
#![allow(unused_variables)]
0 commit comments