aboutsummaryrefslogtreecommitdiff
path: root/tests/test_item.rs
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 04:44:48 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 04:44:48 +0000
commit9dfe3a33280e5692d25c7270c1755098428b9930 (patch)
treed5e636b193de2e5a9a2489ad79c3f09d2b6dbb99 /tests/test_item.rs
parentde2ca014b36b9847c56f467c6a772bb495958430 (diff)
parent24ed6d6f264ce5ab393279ab9abe8b6903819021 (diff)
downloadpaste-9dfe3a33280e5692d25c7270c1755098428b9930.tar.gz
Change-Id: Ia98524160615845f1a4048fccba94aeeccd78175
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() {}
}
}