We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 001cea4 commit e8c1c4cCopy full SHA for e8c1c4c
src/test/ui/wrapping-int-api.rs
@@ -1,6 +1,9 @@
1
// run-pass
2
// Test inherent wrapping_* methods for {i,u}{size,8,16,32,64}.
3
4
+// Don't warn about overflowing ops on 32-bit platforms
5
+#![cfg_attr(target_pointer_width = "32", allow(const_err))]
6
+
7
use std::{i8, i16, i32, i64, isize};
8
use std::{u8, u16, u32, u64, usize};
9
0 commit comments