Upgrade bitflags
to v2.4.2 (#8693)
This PR upgrades our [`bitflags`](https://crates.io/crates/bitflags) dependency to v2.4.2. This also fixes an error that was seen when running `clippy`: ``` error: &-masking with zero --> crates/fsevent/src/fsevent.rs:19:1 | 19 | / bitflags! { 20 | | #[repr(C)] 21 | | pub struct StreamFlags: u32 { 22 | | const NONE = 0x00000000; ... | 46 | | } 47 | | } | |_^ | = 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) ``` Fixes #8681. Release Notes: - N/A
This commit is contained in:
parent
b2cc617886
commit
8c3ae8b264
7 changed files with 38 additions and 36 deletions
|
@ -41,7 +41,7 @@ actions!(
|
|||
);
|
||||
|
||||
bitflags! {
|
||||
#[derive(Default)]
|
||||
#[derive(Debug, PartialEq, Eq, Clone, Copy, Default)]
|
||||
pub struct SearchOptions: u8 {
|
||||
const NONE = 0b000;
|
||||
const WHOLE_WORD = 0b001;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue