Skip to content

Commit 3bba386

Browse files
author
kek kek kek
authored
fix: corrected the formatting of error message parameters in index out of bounds error (#3630)
chore: corrected the formatting of error message parameters in index out of bounds error
1 parent 2b0fce2 commit 3bba386

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

compiler/noirc_evaluator/src/errors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pub enum RuntimeError {
2626
},
2727
#[error(transparent)]
2828
InternalError(#[from] InternalError),
29-
#[error("Index out of bounds, array has size {index:?}, but index was {array_size:?}")]
29+
#[error("Index out of bounds, array has size {array_size}, but index was {index}")]
3030
IndexOutOfBounds { index: usize, array_size: usize, call_stack: CallStack },
3131
#[error("Range constraint of {num_bits} bits is too large for the Field size")]
3232
InvalidRangeConstraint { num_bits: u32, call_stack: CallStack },

0 commit comments

Comments
 (0)