Skip to content

Commit

Permalink
allow deadcode
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperFluffy committed Sep 25, 2024
1 parent e367f13 commit 30250aa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lint/tracing_debug_field/ui/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#[allow(clippy::all)]
use tracing::info;

#[expect(
dead_code,
reason = "the type and its inner value are used by dylint to test generated code and have no \
further meaning beyond that"
)]
#[derive(Clone, Copy, Debug)]
struct Wrapped(&'static str);

Expand Down

0 comments on commit 30250aa

Please sign in to comment.