]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_infer/src/infer/mod.rs
Rollup merge of #82798 - jyn514:rustdoc-group, r=Manishearth,GuillaumeGomez
[rust.git] / compiler / rustc_infer / src / infer / mod.rs
index 09eecd715f03b3809d1741cf6a84a70fc0aa2b50..3df58cb7857f14125b869e14c0f8ed52a828bb4d 100644 (file)
@@ -408,7 +408,7 @@ pub enum SubregionOrigin<'tcx> {
 }
 
 // `SubregionOrigin` is used a lot. Make sure it doesn't unintentionally get bigger.
-#[cfg(target_arch = "x86_64")]
+#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
 static_assert_size!(SubregionOrigin<'_>, 32);
 
 /// Times when we replace late-bound regions with variables: