Skip to content

Commit

Permalink
remove exception
Browse files Browse the repository at this point in the history
  • Loading branch information
mj10021 committed Feb 22, 2024
1 parent 03f095f commit 8adaa46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/tools/tidy/src/issues.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3225,7 +3225,6 @@
"ui/nll/user-annotations/issue-55748-pat-types-constrain-bindings.rs",
"ui/nll/user-annotations/issue-57731-ascibed-coupled-types.rs",
"ui/numbers-arithmetic/issue-105626.rs",
"ui/numbers-arithmetic/issue-8460-const.rs",
"ui/numbers-arithmetic/issue-8460.rs",
"ui/object-safety/issue-102762.rs",
"ui/object-safety/issue-102933.rs",
Expand Down
4 changes: 2 additions & 2 deletions tests/ui/lint/lint-overflowing-ops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ fn main() {
let _n = usize::MAX * 5; //~ ERROR: arithmetic operation will overflow
let _n = &(usize::MAX * 5); //~ ERROR: arithmetic operation will overflow

let _x = -i8::MIN; //~ ERROR this arithmetic operation will overflow
let _x = &(-i8::MIN); //~ ERROR this arithmetic operation will overflow
let _n = -i8::MIN; //~ ERROR this arithmetic operation will overflow
let _n = &(-i8::MIN); //~ ERROR this arithmetic operation will overflow


// Division
Expand Down

0 comments on commit 8adaa46

Please sign in to comment.