1error[E0599]: no method named `project` found for struct `Pin<&mut Foo<u8>>` in the current scope
2 --> $DIR/cfg_attr-resolve.rs:10:30
3 |
410 | let _ = Pin::new(&mut x).project(); //~ ERROR E0599
5 | ^^^^^^^ method not found in `Pin<&mut Foo<u8>>`
6