This commit is contained in:
Edgar 2024-07-31 07:25:34 +02:00
parent ffe3763716
commit ac69ebde2a
No known key found for this signature in database
GPG key ID: 70ADAE8F35904387

View file

@ -1089,7 +1089,7 @@ fn compile_rvalue<'ctx>(
}
}
ir::PlaceElem::Index { value } => {
let (value, _ty) = compile_rvalue(ctx, fn_id, &locals, value)?;
let (value, _ty) = compile_rvalue(ctx, fn_id, locals, value)?;
ptr = unsafe {
ctx.builder.build_in_bounds_gep(