remove label from Struct layout

This commit is contained in:
Folkert 2020-03-23 01:45:27 +01:00
parent e2a7c970bc
commit 46062439b5
7 changed files with 233 additions and 211 deletions

View file

@ -66,7 +66,7 @@ pub fn basic_type_from_layout<'ctx>(
// Determine types
let mut field_types = Vec::with_capacity_in(sorted_fields.len(), arena);
for (_, field_layout) in sorted_fields.iter() {
for field_layout in sorted_fields.iter() {
field_types.push(basic_type_from_layout(
arena,
context,