Skip to content

Commit

Permalink
Update compiler/noirc_frontend/src/hir/type_check/errors.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Michael J Klein <[email protected]>
  • Loading branch information
jfecher and michaeljklein authored Aug 26, 2024
1 parent c04a7b7 commit d801db2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/noirc_frontend/src/hir/type_check/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
}
Expand Down

0 comments on commit d801db2

Please sign in to comment.