1 use std::pin::Pin; 2 3 #[cfg_attr(any(), pin_project::pin_project)] 4 struct Foo<T> { 5 f: T, 6 } 7 main()8 fn main() { 9 let mut x = Foo { f: 0_u8 }; 10 let _ = Pin::new(&mut x).project(); //~ ERROR E0599 11 } 12