File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 3225
3225
"ui/nll/user-annotations/issue-55748-pat-types-constrain-bindings.rs",
3226
3226
"ui/nll/user-annotations/issue-57731-ascibed-coupled-types.rs",
3227
3227
"ui/numbers-arithmetic/issue-105626.rs",
3228
- "ui/numbers-arithmetic/issue-8460-const.rs",
3229
3228
"ui/numbers-arithmetic/issue-8460.rs",
3230
3229
"ui/object-safety/issue-102762.rs",
3231
3230
"ui/object-safety/issue-102933.rs",
Original file line number Diff line number Diff line change @@ -222,8 +222,8 @@ fn main() {
222
222
let _n = usize:: MAX * 5 ; //~ ERROR: arithmetic operation will overflow
223
223
let _n = & ( usize:: MAX * 5 ) ; //~ ERROR: arithmetic operation will overflow
224
224
225
- let _x = -i8:: MIN ; //~ ERROR this arithmetic operation will overflow
226
- let _x = & ( -i8:: MIN ) ; //~ ERROR this arithmetic operation will overflow
225
+ let _n = -i8:: MIN ; //~ ERROR this arithmetic operation will overflow
226
+ let _n = & ( -i8:: MIN ) ; //~ ERROR this arithmetic operation will overflow
227
227
228
228
229
229
// Division
You can’t perform that action at this time.
0 commit comments