diff options
Diffstat (limited to 'tests/expand/pub/tuple_struct.rs')
-rw-r--r-- | tests/expand/pub/tuple_struct.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/expand/pub/tuple_struct.rs b/tests/expand/pub/tuple_struct.rs new file mode 100644 index 0000000..5756aaf --- /dev/null +++ b/tests/expand/pub/tuple_struct.rs @@ -0,0 +1,6 @@ +use pin_project::pin_project; + +#[pin_project] +pub struct TupleStruct<T, U>(#[pin] pub T, pub U); + +fn main() {} |