Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
jfecher committed Dec 9, 2024
1 parent f4e456c commit c2dd196
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/noirc_frontend/src/hir/type_check/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -524,8 +524,8 @@ impl<'a> From<&'a TypeCheckError> for Diagnostic {
},
TypeCheckError::TypeAnnotationsNeededForIndex { span } => {
Diagnostic::simple_error(
format!("Type annotations required before indexing this array or slice"),
format!("Type annotations needed before this point, can't decide if this is an array or slice"),
"Type annotations required before indexing this array or slice".into(),
"Type annotations needed before this point, can't decide if this is an array or slice".into(),
*span,
)
},
Expand Down

0 comments on commit c2dd196

Please sign in to comment.