From d801db225ad15003536c60a6cfe7b6c3f5ded073 Mon Sep 17 00:00:00 2001 From: jfecher Date: Mon, 26 Aug 2024 16:09:15 -0500 Subject: [PATCH] Update compiler/noirc_frontend/src/hir/type_check/errors.rs Co-authored-by: Michael J Klein --- compiler/noirc_frontend/src/hir/type_check/errors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/noirc_frontend/src/hir/type_check/errors.rs b/compiler/noirc_frontend/src/hir/type_check/errors.rs index e1ca6ed840c..17642843757 100644 --- a/compiler/noirc_frontend/src/hir/type_check/errors.rs +++ b/compiler/noirc_frontend/src/hir/type_check/errors.rs @@ -422,7 +422,7 @@ impl<'a> From<&'a TypeCheckError> for Diagnostic { Diagnostic::simple_error(error.to_string(), String::new(), *span) } TypeCheckError::CyclicType { typ: _, span } => { - Diagnostic::simple_error(error.to_string(), "Cyclic types would have infinite size and are prohibited in Noir".into(), *span) + Diagnostic::simple_error(error.to_string(), "Cyclic types have unlimited size and are prohibited in Noir".into(), *span) } } }