Sha256: 1c84cc089623dd31f483011ed6543f169af341b028a212fcf00146bc96dd792f
Contents?: true
Size: 473 Bytes
Versions: 8
Compression:
Stored size: 473 Bytes
Contents
// SPDX-License-Identifier: Apache-2.0 OR MIT use pin_project_lite::pin_project; pin_project! { struct A<T> { #[pin()] //~ ERROR no rules expected the token `(` pinned: T, } } pin_project! { #[pin] //~ ERROR cannot find attribute `pin` in this scope struct B<T> { pinned: T, } } pin_project! { struct C<T> { #[pin] #[pin] //~ ERROR no rules expected the token `#` pinned: T, } } fn main() {}
Version data entries
8 entries across 8 versions & 1 rubygems