Skip to content

Commit caf5840

Browse files
committed
Fix length check for error cases
1 parent 84506dc commit caf5840

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/input/return_enums.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ fn validate_iter_to_vec<'a, 's>(
117117
output.push(item)
118118
}
119119
Err(ValError::LineErrors(line_errors)) => {
120+
max_length_check.incr()?;
120121
errors.extend(line_errors.into_iter().map(|err| err.with_outer_location(index.into())));
121122
}
122123
Err(ValError::Omit) => (),

0 commit comments

Comments
 (0)