use pin_project_lite::pin_project; pin_project! { struct A { //~ ERROR no rules expected the token `:` field: T, } } pin_project! { struct B { //~ ERROR expected one of `+`, `,`, `=`, or `>`, found `:` field: T, } } fn main() {}