diff --git a/crates/oxc_semantic/src/control_flow/builder/context.rs b/crates/oxc_semantic/src/control_flow/builder/context.rs index a63d1b7817419..ff54a935b60e6 100644 --- a/crates/oxc_semantic/src/control_flow/builder/context.rs +++ b/crates/oxc_semantic/src/control_flow/builder/context.rs @@ -3,7 +3,7 @@ use crate::{BasicBlockId, EdgeType}; use super::ControlFlowGraphBuilder; bitflags::bitflags! { - #[derive(Debug, Clone, Copy, PartialEq)] + #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub struct CtxFlags: u8 { /// Anything above a `FUNCTION` is unreachable. const FUNCTION = 1;