We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4c7a8cb + 25122d9 commit 0d4f56dCopy full SHA for 0d4f56d
crates/hir-def/src/expr_store/path.rs
@@ -27,7 +27,7 @@ pub enum Path {
27
}
28
29
// This type is being used a lot, make sure it doesn't grow unintentionally.
30
-#[cfg(target_arch = "x86_64")]
+#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
31
const _: () = {
32
assert!(size_of::<Path>() == 24);
33
assert!(size_of::<Option<Path>>() == 24);
crates/hir-def/src/hir/type_ref.rs
@@ -148,7 +148,7 @@ pub enum TypeRef {
148
Error,
149
150
151
152
const _: () = assert!(size_of::<TypeRef>() == 24);
153
154
pub type TypeRefId = Idx<TypeRef>;
0 commit comments