1// See ./unsafe_unpin-expanded.rs for generated code.
2
3#![allow(dead_code)]
4
5use pin_project::{pin_project, UnsafeUnpin};
6
7#[pin_project(UnsafeUnpin)]
8pub struct Struct<T, U> {
9 #[pin]
10 pinned: T,
11 unpinned: U,
12}
13
14unsafe impl<T: Unpin, U> UnsafeUnpin for Struct<T, U> {}
15
16fn main() {}
17