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
  • Loading branch information
jfecher authored Sep 17, 2024
1 parent 8b8622f commit 0d79f3d
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 @@ -268,7 +268,7 @@ impl<'a> From<&'a TypeCheckError> for Diagnostic {
}
TypeCheckError::UnconstrainedMismatch { item, expected, span } => {
let msg = if *expected {
format!("{item} expected to be unconstrained")
format!("{item} is expected to be unconstrained")
} else {
format!("{item} is not expected to be unconstrained")
};
Expand Down

0 comments on commit 0d79f3d

Please sign in to comment.