We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ef558e commit 7a83e2fCopy full SHA for 7a83e2f
src/tools/miri/tests/pass/overflow_checks_off.rs
@@ -7,10 +7,9 @@
7
// Miri does not implement the codegen-time hack that backs `#[rustc_inherit_overflow_checks]`.
8
// use std::ops::*;
9
10
-
11
// Disable _compile-time_ overflow linting
12
// so that we can test runtime overflow checks
13
- #![allow(arithmetic_overflow)]
+#![allow(arithmetic_overflow)]
14
15
fn main() {
16
assert_eq!(-{ -0x80i8 }, -0x80);
0 commit comments