Skip to content

Commit

Permalink
Merge pull request #145 from sunsided/feature/allow-unused-code
Browse files Browse the repository at this point in the history
Allow unused type in no_type_leakage test
  • Loading branch information
idanarye authored Jun 15, 2024
2 parents effbe43 + d033e4f commit b367f33
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 b367f33

Please sign in to comment.