rust-analyzer: use new function in (incorrect) layout computation
This is only to fix the build.
This commit is contained in:
parent
79f41c773a
commit
46f7a7d378
@ -179,7 +179,7 @@ fn layout_of_simd_ty(
|
||||
.size
|
||||
.checked_mul(e_len, dl)
|
||||
.ok_or(LayoutError::BadCalc(LayoutCalculatorError::SizeOverflow))?;
|
||||
let align = dl.vector_align(size);
|
||||
let align = dl.llvmlike_vector_align(size);
|
||||
let size = size.align_to(align.abi);
|
||||
|
||||
// Compute the placement of the vector fields:
|
||||
|
Loading…
x
Reference in New Issue
Block a user