diff --git a/crates/noirc_frontend/src/hir/type_check/errors.rs b/crates/noirc_frontend/src/hir/type_check/errors.rs index 2ab25692a48..8b3623db3c3 100644 --- a/crates/noirc_frontend/src/hir/type_check/errors.rs +++ b/crates/noirc_frontend/src/hir/type_check/errors.rs @@ -71,7 +71,7 @@ pub enum TypeCheckError { IntegerBitWidth { bit_width_x: u32, bit_width_y: u32, span: Span }, #[error("{kind} cannot be used in an infix operation")] InvalidInfixOp { kind: &'static str, span: Span }, - #[error("{kind} cannot be used in an unary operation")] + #[error("{kind} cannot be used in a unary operation")] InvalidUnaryOp { kind: String, span: Span }, #[error("Bitwise operations are invalid on Field types. Try casting the operands to a sized integer type first.")] InvalidBitwiseOperationOnField { span: Span },