aboutsummaryrefslogtreecommitdiff
path: root/tests/expand/naming/tuple_struct-own.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/expand/naming/tuple_struct-own.rs')
-rw-r--r--tests/expand/naming/tuple_struct-own.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/expand/naming/tuple_struct-own.rs b/tests/expand/naming/tuple_struct-own.rs
new file mode 100644
index 0000000..a15ad40
--- /dev/null
+++ b/tests/expand/naming/tuple_struct-own.rs
@@ -0,0 +1,6 @@
+use pin_project::pin_project;
+
+#[pin_project(project_replace = ProjOwn)]
+struct TupleStruct<T, U>(#[pin] T, U);
+
+fn main() {}