]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/wrapping-int-api.rs
Update tests to remove old numeric constants
[rust.git] / src / test / ui / wrapping-int-api.rs
index ecdd742fb4e0885d27fe28b4f512115e806f3bf2..6e2fc7f80b9c480404b05b788ee408bba2d9ec56 100644 (file)
@@ -4,9 +4,6 @@
 // Don't warn about overflowing ops on 32-bit platforms
 #![cfg_attr(target_pointer_width = "32", allow(const_err))]
 
-use std::{i8, i16, i32, i64, isize};
-use std::{u8, u16, u32, u64, usize};
-
 fn main() {
     assert_eq!(   i8::MAX.wrapping_add(1),    i8::MIN);
     assert_eq!(  i16::MAX.wrapping_add(1),   i16::MIN);