diff --git a/crates/oxc_allocator/src/address.rs b/crates/oxc_allocator/src/address.rs index 19a6eb6b079ba..f0e10c434b847 100644 --- a/crates/oxc_allocator/src/address.rs +++ b/crates/oxc_allocator/src/address.rs @@ -4,6 +4,7 @@ use crate::Box; /// Memory address of an AST node in arena. #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] +#[repr(transparent)] pub struct Address(usize); impl Address {