From 79a1305bf70e9589ef0f6bb7aa31a3c1225c7343 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Thu, 16 Oct 2025 13:48:52 +0100 Subject: [PATCH] fix assertion about the size of `Type` --- crates/ty_python_semantic/src/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ty_python_semantic/src/types.rs b/crates/ty_python_semantic/src/types.rs index bbbc7ae5e2..75021c47b3 100644 --- a/crates/ty_python_semantic/src/types.rs +++ b/crates/ty_python_semantic/src/types.rs @@ -11785,7 +11785,7 @@ pub(super) fn determine_upper_bound<'db>( // Make sure that the `Type` enum does not grow unexpectedly. #[cfg(not(debug_assertions))] #[cfg(target_pointer_width = "64")] -static_assertions::assert_eq_size!(Type, [u8; 16]); +static_assertions::assert_eq_size!(Type, [u8; 24]); #[cfg(test)] pub(crate) mod tests {