1 use pin_project::pin_project; 2 3 #[pin_project] 4 struct S { 5 #[pin] 6 f: u8, 7 } 8 9 impl Unpin for __S {} //~ ERROR E0412,E0321 10 main()11 fn main() {} 12