diff --git a/compiler/noirc_frontend/src/hir/type_check/mod.rs b/compiler/noirc_frontend/src/hir/type_check/mod.rs index d690fe2458a..162622f0af0 100644 --- a/compiler/noirc_frontend/src/hir/type_check/mod.rs +++ b/compiler/noirc_frontend/src/hir/type_check/mod.rs @@ -274,6 +274,7 @@ mod test { return_distinctness: Distinctness::DuplicationAllowed, has_body: true, return_type: FunctionReturnType::Default(Span::default()), + trait_constraints: Vec::new(), }; interner.push_fn_meta(func_meta, func_id);