Sha256: 1f3e5ba5a047440066a9f6bf7b7af33f5b06f6b1da3dd9af6886168199a7ea0a

Contents?: true

Size: 173 Bytes

Versions: 30

Compression:

Stored size: 173 Bytes

Contents

use bitflags::bitflags;

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

fn main() {
    assert_eq!(0b00000001, 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-pass/visibility/bits_field.rs
wasmtime-22.0.0 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-pass/visibility/bits_field.rs
wasmtime-21.0.1 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-pass/visibility/bits_field.rs
wasmtime-20.0.2 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-pass/visibility/bits_field.rs
wasmtime-20.0.0 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-pass/visibility/bits_field.rs
wasmtime-18.0.3 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-pass/visibility/bits_field.rs
wasmtime-17.0.1 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-pass/visibility/bits_field.rs
wasmtime-17.0.0 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-pass/visibility/bits_field.rs
wasmtime-16.0.0 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-pass/visibility/bits_field.rs
wasmtime-15.0.1 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-pass/visibility/bits_field.rs
wasmtime-15.0.0 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-pass/visibility/bits_field.rs
wasmtime-14.0.4 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-pass/visibility/bits_field.rs
wasmtime-14.0.3 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-pass/visibility/bits_field.rs
wasmtime-14.0.1 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-pass/visibility/bits_field.rs
wasmtime-14.0.0 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-pass/visibility/bits_field.rs
wasmtime-13.0.0 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-pass/visibility/bits_field.rs
wasmtime-12.0.1 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-pass/visibility/bits_field.rs
wasmtime-12.0.0 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-pass/visibility/bits_field.rs
wasmtime-11.0.0 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-pass/visibility/bits_field.rs
wasmtime-10.0.1 ./ext/cargo-vendor/bitflags-1.3.2/tests/compile-pass/visibility/bits_field.rs