diff --git a/compiler/noirc_frontend/src/hir_def/types.rs b/compiler/noirc_frontend/src/hir_def/types.rs index 98171b0a5d1..59404c5f298 100644 --- a/compiler/noirc_frontend/src/hir_def/types.rs +++ b/compiler/noirc_frontend/src/hir_def/types.rs @@ -1119,7 +1119,7 @@ impl Type { env.find_all_unbound_type_variables(interner, bindings); } Type::MutableReference(elem) => { - elem.find_all_unbound_type_variables(interner, bindings) + elem.find_all_unbound_type_variables(interner, bindings); } Type::Forall(_, typ) => typ.find_all_unbound_type_variables(interner, bindings), Type::TypeVariable(type_variable, _) | Type::NamedGeneric(type_variable, _) => {