diff --git a/tools/ci/Cargo.toml b/tools/ci/Cargo.toml index ee308194..930d7cd3 100644 --- a/tools/ci/Cargo.toml +++ b/tools/ci/Cargo.toml @@ -7,4 +7,4 @@ edition = "2018" [dependencies] xshell = "0.2" -bitflags = "1.3" +bitflags = "2" diff --git a/tools/ci/src/main.rs b/tools/ci/src/main.rs index b970ba87..55186146 100644 --- a/tools/ci/src/main.rs +++ b/tools/ci/src/main.rs @@ -5,6 +5,7 @@ use xshell::{cmd, Shell}; use bitflags::bitflags; bitflags! { + #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] struct Check: u32 { const FORMAT = 0b00000001; const CLIPPY = 0b00000010;