Skip to content

Commit f964368

Browse files
rust-analyzer: use new function in (incorrect) layout computation
This is only to fix the build.
1 parent e5c6d05 commit f964368

File tree

1 file changed

+1
-1
lines changed
  • src/tools/rust-analyzer/crates/hir-ty/src

1 file changed

+1
-1
lines changed

src/tools/rust-analyzer/crates/hir-ty/src/layout.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ fn layout_of_simd_ty(
179179
.size
180180
.checked_mul(e_len, dl)
181181
.ok_or(LayoutError::BadCalc(LayoutCalculatorError::SizeOverflow))?;
182-
let align = dl.vector_align(size);
182+
let align = dl.llvmlike_vector_align(size);
183183
let size = size.align_to(align.abi);
184184

185185
// Compute the placement of the vector fields:

0 commit comments

Comments
 (0)