Sha256: 344a8394f06a1d43355b514920e7e3c0c6dce507be767e3a590bbe3552edd110

Contents?: true

Size: 496 Bytes

Versions: 8

Compression:

Stored size: 496 Bytes

Contents

use core::marker::PhantomData;
use std::panic::{RefUnwindSafe, UnwindSafe};
use std::rc::Rc;

// Zero sized marker with the correct set of autotrait impls we want all proc
// macro types to have.
pub(crate) type Marker = PhantomData<ProcMacroAutoTraits>;

pub(crate) use self::value::*;

mod value {
    pub(crate) use core::marker::PhantomData as Marker;
}

pub(crate) struct ProcMacroAutoTraits(Rc<()>);

impl UnwindSafe for ProcMacroAutoTraits {}
impl RefUnwindSafe for ProcMacroAutoTraits {}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
wasmtime-9.0.1 ./ext/cargo-vendor/proc-macro2-1.0.58/src/marker.rs
wasmtime-8.0.0 ./ext/cargo-vendor/proc-macro2-1.0.56/src/marker.rs
wasmtime-7.0.0 ./ext/cargo-vendor/proc-macro2-1.0.54/src/marker.rs
wasmtime-6.0.1 ./ext/cargo-vendor/proc-macro2-1.0.51/src/marker.rs
wasmtime-6.0.0 ./ext/cargo-vendor/proc-macro2-1.0.51/src/marker.rs
wasmtime-5.0.0 ./ext/cargo-vendor/proc-macro2-1.0.50/src/marker.rs
wasmtime-0.4.1 ./ext/cargo-vendor/proc-macro2-1.0.47/src/marker.rs
wasmtime-0.4.0 ./ext/cargo-vendor/proc-macro2-1.0.47/src/marker.rs