Skip to content

Commit 1da5a52

Browse files
committed
#[allow(dead_code)] in test
1 parent 0928c37 commit 1da5a52

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tracing-attributes/tests/instrument.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ use tracing_mock::*;
66
// Reproduces a compile error when an instrumented function body contains inner
77
// attributes (https://github.com/tokio-rs/tracing/issues/2294).
88
#[deny(unused_variables)]
9+
#[allow(dead_code)]
910
#[instrument]
1011
fn repro_2294() {
1112
#![allow(unused_variables)]

0 commit comments

Comments
 (0)