diff --git a/tests/test_item.rs b/tests/test_item.rs index ee6b571..4f26c9c 100644 --- a/tests/test_item.rs +++ b/tests/test_item.rs @@ -61,7 +61,7 @@ mod test_none_delimited_single_lifetime { macro_rules! m { ($life:lifetime) => { paste! { - pub struct S<$life>(pub &$life ()); + pub struct S<$life>(#[allow(dead_code)] pub &$life ()); impl<$life> S<$life> { fn f() {} }