aboutsummaryrefslogtreecommitdiff
path: root/tests/test_item.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_item.rs')
-rw-r--r--tests/test_item.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_item.rs b/tests/test_item.rs
index 86c98a9..3821510 100644
--- a/tests/test_item.rs
+++ b/tests/test_item.rs
@@ -59,8 +59,8 @@ mod test_none_delimited_single_lifetime {
macro_rules! m {
($life:lifetime) => {
paste! {
- pub struct S;
- impl<$life> S {
+ pub struct S<$life>(&$life ());
+ impl<$life> S<$life> {
fn f() {}
}
}