about summary refs log tree commit diff
path: root/src/test/run-fail/overflowing-rsh-1.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-fail/overflowing-rsh-1.rs')
-rw-r--r--src/test/run-fail/overflowing-rsh-1.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/run-fail/overflowing-rsh-1.rs b/src/test/run-fail/overflowing-rsh-1.rs
index 24a77da896d..14514540c06 100644
--- a/src/test/run-fail/overflowing-rsh-1.rs
+++ b/src/test/run-fail/overflowing-rsh-1.rs
@@ -2,6 +2,7 @@
 // compile-flags: -C debug-assertions
 
 #![warn(exceeding_bitshifts)]
+#![warn(const_err)]
 
 fn main() {
     let _x = -1_i32 >> 32;