mirror of https://github.com/astral-sh/ruff
fix assertion about the size of `Type`
This commit is contained in:
parent
546c7e43c0
commit
79a1305bf7
|
|
@ -11785,7 +11785,7 @@ pub(super) fn determine_upper_bound<'db>(
|
||||||
// Make sure that the `Type` enum does not grow unexpectedly.
|
// Make sure that the `Type` enum does not grow unexpectedly.
|
||||||
#[cfg(not(debug_assertions))]
|
#[cfg(not(debug_assertions))]
|
||||||
#[cfg(target_pointer_width = "64")]
|
#[cfg(target_pointer_width = "64")]
|
||||||
static_assertions::assert_eq_size!(Type, [u8; 16]);
|
static_assertions::assert_eq_size!(Type, [u8; 24]);
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
pub(crate) mod tests {
|
pub(crate) mod tests {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue