about summary refs log tree commit diff
path: root/src/test/ui/numbers-arithmetic/int-abs-overflow.rs
diff options
context:
space:
mode:
authorNoah Lev <camelidcamel@gmail.com>2021-11-24 10:19:23 -0800
committerNoah Lev <camelidcamel@gmail.com>2021-11-24 10:19:23 -0800
commitf0b990a8f9992cea0220e7cf64c5d7b891296bf1 (patch)
tree7fdd51e67aec886bdf1f04ab99b59b31ebb01ea3 /src/test/ui/numbers-arithmetic/int-abs-overflow.rs
parentc6a7ca196a707acd65e6cce1d337cd11786c59a5 (diff)
downloadrust-f0b990a8f9992cea0220e7cf64c5d7b891296bf1.tar.gz
rust-f0b990a8f9992cea0220e7cf64c5d7b891296bf1.zip
Remove `-Z force-overflow-checks`
It was replaced several years ago by the stable option `-C
overflow-checks`. The goal was to delete the `-Z` flag once users had
migrated [1]. Now that it's been several years, it makes sense to delete
the old flag.

See also the discussion on Zulip [2].

[1]: https://github.com/rust-lang/rust/issues/33134#issuecomment-280484097
[2]: https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/overflow.20checks/near/262497224
Diffstat (limited to 'src/test/ui/numbers-arithmetic/int-abs-overflow.rs')
-rw-r--r--src/test/ui/numbers-arithmetic/int-abs-overflow.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/numbers-arithmetic/int-abs-overflow.rs b/src/test/ui/numbers-arithmetic/int-abs-overflow.rs
index 10ec3f0c662..9c6dff7e1a6 100644
--- a/src/test/ui/numbers-arithmetic/int-abs-overflow.rs
+++ b/src/test/ui/numbers-arithmetic/int-abs-overflow.rs
@@ -1,5 +1,5 @@
 // run-pass
-// compile-flags: -Z force-overflow-checks=on
+// compile-flags: -C overflow-checks=on
 // ignore-emscripten no threads support
 
 use std::thread;