diff options
| author | The Miri Conjob Bot <miri@cron.bot> | 2024-02-18 05:02:03 +0000 |
|---|---|---|
| committer | The Miri Conjob Bot <miri@cron.bot> | 2024-02-18 05:02:03 +0000 |
| commit | 7a83e2f30d92748640461edbd5812e7b9229e995 (patch) | |
| tree | 2425c84d0a9356e90dde5de808e5e5456df8e8be | |
| parent | 3ef558ec1561a3a548748e6a9967630aea8c6ca5 (diff) | |
fmt
| -rw-r--r-- | src/tools/miri/tests/pass/overflow_checks_off.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tools/miri/tests/pass/overflow_checks_off.rs b/src/tools/miri/tests/pass/overflow_checks_off.rs index 7b9d4f8fff5..831bffb6c5e 100644 --- a/src/tools/miri/tests/pass/overflow_checks_off.rs +++ b/src/tools/miri/tests/pass/overflow_checks_off.rs @@ -7,10 +7,9 @@ // Miri does not implement the codegen-time hack that backs `#[rustc_inherit_overflow_checks]`. // use std::ops::*; - // Disable _compile-time_ overflow linting // so that we can test runtime overflow checks - #![allow(arithmetic_overflow)] +#![allow(arithmetic_overflow)] fn main() { assert_eq!(-{ -0x80i8 }, -0x80); |
