diff --git a/src/compiler/rust/bitset.rs b/src/compiler/rust/bitset.rs index c57811f7e7e..e868ac3044a 100644 --- a/src/compiler/rust/bitset.rs +++ b/src/compiler/rust/bitset.rs @@ -292,6 +292,7 @@ impl FromIterator for BitSet { } } +#[expect(clippy::len_without_is_empty)] pub trait BitSetStreamTrait { /// Get the next word /// diff --git a/src/compiler/rust/cfg.rs b/src/compiler/rust/cfg.rs index abdd596c860..ffa654d3566 100644 --- a/src/compiler/rust/cfg.rs +++ b/src/compiler/rust/cfg.rs @@ -330,6 +330,7 @@ pub struct CFG { nodes: Vec>, } +#[expect(clippy::len_without_is_empty)] impl CFG { /// Creates a new CFG from nodes and edges. pub fn from_blocks_edges(