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

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/pin-project-lite-0.2.16/tests/ui/pin_project/unsupported.rs
wasmtime-28.0.0 ./ext/cargo-vendor/pin-project-lite-0.2.16/tests/ui/pin_project/unsupported.rs
wasmtime-27.0.0 ./ext/cargo-vendor/pin-project-lite-0.2.15/tests/ui/pin_project/unsupported.rs
wasmtime-26.0.0 ./ext/cargo-vendor/pin-project-lite-0.2.15/tests/ui/pin_project/unsupported.rs
wasmtime-25.0.2 ./ext/cargo-vendor/pin-project-lite-0.2.14/tests/ui/pin_project/unsupported.rs
wasmtime-25.0.1 ./ext/cargo-vendor/pin-project-lite-0.2.14/tests/ui/pin_project/unsupported.rs
wasmtime-25.0.0 ./ext/cargo-vendor/pin-project-lite-0.2.14/tests/ui/pin_project/unsupported.rs
wasmtime-24.0.0 ./ext/cargo-vendor/pin-project-lite-0.2.14/tests/ui/pin_project/unsupported.rs