// SPDX-License-Identifier: Apache-2.0 OR MIT use pin_project_lite::pin_project; pin_project! { struct A { #[pin()] //~ ERROR no rules expected the token `(` pinned: T, } } pin_project! { #[pin] //~ ERROR cannot find attribute `pin` in this scope struct B { pinned: T, } } pin_project! { struct C { #[pin] #[pin] //~ ERROR no rules expected the token `#` pinned: T, } } fn main() {}