Skip to content

Commit

Permalink
Allow unused type in no_type_leakage test
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Mayer <widemeadows@gmail.com>
  • Loading branch information
sunsided committed Jun 15, 2024
1 parent effbe43 commit d033e4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/no_type_leakage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ struct Foo {
x: i32,
}

#[allow(unused)]
pub struct Bar(Foo);

impl Bar {
Expand Down

0 comments on commit d033e4f

Please sign in to comment.