Sha256: 8f590791cb4693bb077c562f0d93128f9452e6a5f60c631b5fd624a221883ebd

Contents?: true

Size: 435 Bytes

Versions: 8

Compression:

Stored size: 435 Bytes

Contents

// SPDX-License-Identifier: Apache-2.0 OR MIT

use pin_project_lite::pin_project;

pin_project! {
    #[project = EnumProj]
    #[project_ref = EnumProjRef]
    enum Enum<T, U> {
        Struct {
            #[pin]
            pinned: T,
            unpinned: U,
        },
        Unit,
    }
    impl<T, U> PinnedDrop for Enum<T, U> {
        fn drop(this: Pin<&mut Self>) {
            let _ = this;
        }
    }
}

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/expand/pinned_drop/enum.rs
wasmtime-28.0.0 ./ext/cargo-vendor/pin-project-lite-0.2.16/tests/expand/pinned_drop/enum.rs
wasmtime-27.0.0 ./ext/cargo-vendor/pin-project-lite-0.2.15/tests/expand/pinned_drop/enum.rs
wasmtime-26.0.0 ./ext/cargo-vendor/pin-project-lite-0.2.15/tests/expand/pinned_drop/enum.rs
wasmtime-25.0.2 ./ext/cargo-vendor/pin-project-lite-0.2.14/tests/expand/pinned_drop/enum.rs
wasmtime-25.0.1 ./ext/cargo-vendor/pin-project-lite-0.2.14/tests/expand/pinned_drop/enum.rs
wasmtime-25.0.0 ./ext/cargo-vendor/pin-project-lite-0.2.14/tests/expand/pinned_drop/enum.rs
wasmtime-24.0.0 ./ext/cargo-vendor/pin-project-lite-0.2.14/tests/expand/pinned_drop/enum.rs