Sha256: a7275028881d4f3d2aea0ac8a78d3b436ac6d12a7a6ec89172ee33102c4d8658

Contents?: true

Size: 219 Bytes

Versions: 12

Compression:

Stored size: 219 Bytes

Contents

#[macro_use]
extern crate lazy_static;

mod outer {
    pub mod inner {
        lazy_static! {
            pub(in outer) static ref FOO: () = ();
        }
    }
}

fn main() {
    assert_eq!(*outer::inner::FOO, ());
}

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/lazy_static-1.5.0/tests/compile_fail/static_is_private.rs
wasmtime-28.0.0 ./ext/cargo-vendor/lazy_static-1.5.0/tests/compile_fail/static_is_private.rs
wasmtime-27.0.0 ./ext/cargo-vendor/lazy_static-1.5.0/tests/compile_fail/static_is_private.rs
wasmtime-26.0.0 ./ext/cargo-vendor/lazy_static-1.5.0/tests/compile_fail/static_is_private.rs
wasmtime-25.0.2 ./ext/cargo-vendor/lazy_static-1.5.0/tests/compile_fail/static_is_private.rs
wasmtime-25.0.1 ./ext/cargo-vendor/lazy_static-1.5.0/tests/compile_fail/static_is_private.rs
wasmtime-25.0.0 ./ext/cargo-vendor/lazy_static-1.5.0/tests/compile_fail/static_is_private.rs
wasmtime-24.0.0 ./ext/cargo-vendor/lazy_static-1.5.0/tests/compile_fail/static_is_private.rs
wasmtime-23.0.2 ./ext/cargo-vendor/lazy_static-1.5.0/tests/compile_fail/static_is_private.rs
wasmtime-22.0.0 ./ext/cargo-vendor/lazy_static-1.5.0/tests/compile_fail/static_is_private.rs
wasmtime-21.0.1 ./ext/cargo-vendor/lazy_static-1.5.0/tests/compile_fail/static_is_private.rs
wasmtime-20.0.2 ./ext/cargo-vendor/lazy_static-1.5.0/tests/compile_fail/static_is_private.rs