Sha256: 3ad5f584f9e56be3573133fba026a7bb378595d0a4b7b1bcbb6b78e37cef20a7
Contents?: true
Size: 542 Bytes
Versions: 8
Compression:
Stored size: 542 Bytes
Contents
// SPDX-License-Identifier: Apache-2.0 OR MIT use pin_project_lite::pin_project; pin_project! { struct Struct1 {} //~ ERROR no rules expected the token `}` } pin_project! { struct Struct2(); //~ ERROR no rules expected the token `(` } pin_project! { struct Struct3; //~ ERROR no rules expected the token `;` } pin_project! { enum Enum { //~ ERROR no rules expected the token `enum` A(u8) } } pin_project! { union Union { //~ ERROR no rules expected the token `union` x: u8, } } fn main() {}
Version data entries
8 entries across 8 versions & 1 rubygems