We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad2d93d commit e750238Copy full SHA for e750238
compiler/rustc_middle/src/middle/limits.rs
@@ -52,7 +52,7 @@ fn update_limit(
52
IntErrorKind::Empty => "`limit` must be a non-negative integer",
53
IntErrorKind::InvalidDigit => "not a valid integer",
54
IntErrorKind::NegOverflow => {
55
- bug!("`limit` should never negatively underflow")
+ bug!("`limit` should never negatively overflow")
56
}
57
IntErrorKind::Zero => bug!("zero is a valid `limit`"),
58
kind => bug!("unimplemented IntErrorKind variant: {:?}", kind),
0 commit comments