Skip to content

Commit e750238

Browse files
committed
Fix typo
1 parent ad2d93d commit e750238

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/middle/limits.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ fn update_limit(
5252
IntErrorKind::Empty => "`limit` must be a non-negative integer",
5353
IntErrorKind::InvalidDigit => "not a valid integer",
5454
IntErrorKind::NegOverflow => {
55-
bug!("`limit` should never negatively underflow")
55+
bug!("`limit` should never negatively overflow")
5656
}
5757
IntErrorKind::Zero => bug!("zero is a valid `limit`"),
5858
kind => bug!("unimplemented IntErrorKind variant: {:?}", kind),

0 commit comments

Comments
 (0)