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