summaryrefslogtreecommitdiff
path: root/vendor/tracing-attributes/tests/dead_code.rs
blob: 6a3e05d4a2181b161632e052ee20dc7a6aeecf74 (plain)
1
2
3
4
5
6
7
8
9
10
use tracing_attributes::instrument;

#[deny(unfulfilled_lint_expectations)]
#[expect(dead_code)]
#[instrument]
fn unused() {}

#[expect(dead_code)]
#[instrument]
async fn unused_async() {}