Auto merge of #124008 - nnethercote:simpler-static_assert_size, r=Nilstrieb
Simplify `static_assert_size`s. We want to run them on all 64-bit platforms. r? `@ghost`
This commit is contained in:
commit
c25473ff62
36 changed files with 45 additions and 43 deletions
|
@ -266,7 +266,7 @@ struct MatcherPos {
|
|||
}
|
||||
|
||||
// This type is used a lot. Make sure it doesn't unintentionally get bigger.
|
||||
#[cfg(all(any(target_arch = "x86_64", target_arch = "aarch64"), target_pointer_width = "64"))]
|
||||
#[cfg(target_pointer_width = "64")]
|
||||
rustc_data_structures::static_assert_size!(MatcherPos, 16);
|
||||
|
||||
impl MatcherPos {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue