remove collection that went unused

This commit is contained in:
Folkert 2022-03-05 22:29:22 +01:00
parent 587c89e003
commit 6380a9edf9
No known key found for this signature in database
GPG Key ID: 1F17F6FFD112B97C

View File

@ -100,7 +100,6 @@ pub fn constrain_expr(
if fields.is_empty() {
constrain_empty_record(constraints, region, expected)
} else {
let mut field_exprs = SendMap::default();
let mut field_types = SendMap::default();
let mut field_vars = Vec::with_capacity(fields.len());
@ -115,7 +114,6 @@ pub fn constrain_expr(
constrain_field(constraints, env, field_var, &*loc_field_expr);
field_vars.push(field_var);
field_exprs.insert(label.clone(), loc_field_expr);
field_types.insert(label.clone(), RecordField::Required(field_type));
rec_constraints.push(field_con);