veeso/tui-realm

[BUG] - broken ci

Redhawk18 opened this issue · 0 comments

Description

Run cargo clippy --lib --features derive,serialize,tui,crossterm --no-default-features -- -Dwarnings
    Checking libc v0.2.147
...
    Checking tuirealm v1.9.0 (/home/runner/work/tui-realm/tui-realm)
error: &-masking with zero
   --> src/core/event.rs:147:1
    |
147 | / bitflags! {
148 | |     /// ## KeyModifiers
149 | |     ///
150 | |     /// Defines special key states, such as shift, control, alt...
...   |
157 | |     }
158 | | }
    | |_^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bad_bit_mask
    = note: `#[deny(clippy::bad_bit_mask)]` on by default
    = note: this error originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)

according to clippy this may cause always true or false bugs