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