Sha256: 38e4d3fe6471829360d12c8d09b097f6a21aa93fb51eac3b215d96bdae23316b

Contents?: true

Size: 210 Bytes

Versions: 30

Compression:

Stored size: 210 Bytes

Contents

mod example {
    use bitflags::bitflags;

    bitflags! {
        pub struct Flags1: u32 {
            const FLAG_A = 0b00000001;
        }
    }
}

fn main() {
    let flag1 = example::Flags1::FLAG_A.bits;
}

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
wasmtime-23.0.2 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-fail/visibility/private_field.rs
wasmtime-22.0.0 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-fail/visibility/private_field.rs
wasmtime-21.0.1 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-fail/visibility/private_field.rs
wasmtime-20.0.2 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-fail/visibility/private_field.rs
wasmtime-20.0.0 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-fail/visibility/private_field.rs
wasmtime-18.0.3 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-fail/visibility/private_field.rs
wasmtime-17.0.1 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-fail/visibility/private_field.rs
wasmtime-17.0.0 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-fail/visibility/private_field.rs
wasmtime-16.0.0 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-fail/visibility/private_field.rs
wasmtime-15.0.1 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-fail/visibility/private_field.rs
wasmtime-15.0.0 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-fail/visibility/private_field.rs
wasmtime-14.0.4 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-fail/visibility/private_field.rs
wasmtime-14.0.3 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-fail/visibility/private_field.rs
wasmtime-14.0.1 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-fail/visibility/private_field.rs
wasmtime-14.0.0 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-fail/visibility/private_field.rs
wasmtime-13.0.0 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-fail/visibility/private_field.rs
wasmtime-12.0.1 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-fail/visibility/private_field.rs
wasmtime-12.0.0 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-fail/visibility/private_field.rs
wasmtime-11.0.0 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-fail/visibility/private_field.rs
wasmtime-10.0.1 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-fail/visibility/private_field.rs