We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27e710f commit 8753d0fCopy full SHA for 8753d0f
src/test/run-fail/promoted_overflow.rs
@@ -11,6 +11,7 @@
11
#![allow(const_err)]
12
13
// error-pattern: overflow
14
+// compile-flags: -C overflow-checks=yes
15
16
fn main() {
17
let x: &'static u32 = &(0u32 - 1);
0 commit comments