diff options
Diffstat (limited to 'tests/expand/naming/struct-own.rs')
-rw-r--r-- | tests/expand/naming/struct-own.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/expand/naming/struct-own.rs b/tests/expand/naming/struct-own.rs new file mode 100644 index 0000000..4924362 --- /dev/null +++ b/tests/expand/naming/struct-own.rs @@ -0,0 +1,10 @@ +use pin_project::pin_project; + +#[pin_project(project_replace = ProjOwn)] +struct Struct<T, U> { + #[pin] + pinned: T, + unpinned: U, +} + +fn main() {} |