diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/ui/consts/const-err.rs | 2 | ||||
| -rw-r--r-- | src/test/ui/mir/mir_overflow_off.rs | 2 | ||||
| -rw-r--r-- | src/test/ui/numbers-arithmetic/int-abs-overflow.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/test/ui/consts/const-err.rs b/src/test/ui/consts/const-err.rs index 031f2121a1e..a8633fd87b5 100644 --- a/src/test/ui/consts/const-err.rs +++ b/src/test/ui/consts/const-err.rs @@ -1,5 +1,5 @@ // build-fail -// compile-flags: -Zforce-overflow-checks=on +// compile-flags: -C overflow-checks=on #![allow(arithmetic_overflow)] #![warn(const_err)] diff --git a/src/test/ui/mir/mir_overflow_off.rs b/src/test/ui/mir/mir_overflow_off.rs index 922ec36e531..0098584dd26 100644 --- a/src/test/ui/mir/mir_overflow_off.rs +++ b/src/test/ui/mir/mir_overflow_off.rs @@ -1,5 +1,5 @@ // run-pass -// compile-flags: -Z force-overflow-checks=off +// compile-flags: -C overflow-checks=off // Test that with MIR codegen, overflow checks can be // turned off, even when they're from core::ops::*. 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; |
