Skip to content

Commit

Permalink
Update crates/noirc_frontend/src/hir/type_check/errors.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
jfecher authored Aug 7, 2023
1 parent 57ce60e commit ed2b81f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/noirc_frontend/src/hir/type_check/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit ed2b81f

Please sign in to comment.