# Upgrade \`bitflags\` to v2.4.2 \(\#8693\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/8c3ae8b26411559adbe98229ea228cea86466284)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 8c3ae8b26411559adbe98229ea228cea86466284

Requested commit: 8c3ae8b26411559adbe98229ea228cea86466284

Commit: 8c3ae8b26411559adbe98229ea228cea86466284

Tree: e19b2fcf138e4ff20ecaf45fab4aa07ef2cc3223

Author: Marshall Bowers

Committer: GitHub

## Message

````
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
````

## Parents

- [b2cc6178860ec184c9f7f23d77eb12c46135c51c](https://git.cafe/gitcafe/zed/commit/b2cc6178860ec184c9f7f23d77eb12c46135c51c?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/8c3ae8b26411559adbe98229ea228cea86466284?format=markdown)
