diff options
Diffstat (limited to 'third_party/rust/pin-project-lite/tests/expand/naming/struct-none.rs')
-rw-r--r-- | third_party/rust/pin-project-lite/tests/expand/naming/struct-none.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/third_party/rust/pin-project-lite/tests/expand/naming/struct-none.rs b/third_party/rust/pin-project-lite/tests/expand/naming/struct-none.rs new file mode 100644 index 0000000000..e5447c70a6 --- /dev/null +++ b/third_party/rust/pin-project-lite/tests/expand/naming/struct-none.rs @@ -0,0 +1,11 @@ +use pin_project_lite::pin_project; + +pin_project! { + struct Struct<T, U> { + #[pin] + pinned: T, + unpinned: U, + } +} + +fn main() {} |