From d033e4feda535f8a8813079265fbb2469aaebf5e Mon Sep 17 00:00:00 2001 From: Markus Mayer Date: Sat, 15 Jun 2024 12:59:25 +0200 Subject: [PATCH] Allow unused type in no_type_leakage test Signed-off-by: Markus Mayer --- tests/no_type_leakage.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/no_type_leakage.rs b/tests/no_type_leakage.rs index 068c2503..19fcdfc7 100644 --- a/tests/no_type_leakage.rs +++ b/tests/no_type_leakage.rs @@ -12,6 +12,7 @@ struct Foo { x: i32, } +#[allow(unused)] pub struct Bar(Foo); impl Bar {