Skip to content

Commit 8adaa46

Browse files
committed
remove exception
1 parent 03f095f commit 8adaa46

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/tools/tidy/src/issues.txt

-1
Original file line numberDiff line numberDiff line change
@@ -3225,7 +3225,6 @@
32253225
"ui/nll/user-annotations/issue-55748-pat-types-constrain-bindings.rs",
32263226
"ui/nll/user-annotations/issue-57731-ascibed-coupled-types.rs",
32273227
"ui/numbers-arithmetic/issue-105626.rs",
3228-
"ui/numbers-arithmetic/issue-8460-const.rs",
32293228
"ui/numbers-arithmetic/issue-8460.rs",
32303229
"ui/object-safety/issue-102762.rs",
32313230
"ui/object-safety/issue-102933.rs",

tests/ui/lint/lint-overflowing-ops.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,8 @@ fn main() {
222222
let _n = usize::MAX * 5; //~ ERROR: arithmetic operation will overflow
223223
let _n = &(usize::MAX * 5); //~ ERROR: arithmetic operation will overflow
224224

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
227227

228228

229229
// Division

0 commit comments

Comments
 (0)