]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/consts/const-int-overflowing-rpass.rs
Update tests to remove old numeric constants
[rust.git] / src / test / ui / consts / const-int-overflowing-rpass.rs
index eecb88becabcabc5fd5484f3fd205b80d88689bd..75e77fdf1be1736992a9d8ae58607ceda8558c44 100644 (file)
@@ -16,7 +16,7 @@
 const SHR_B: (u32, bool) = 0x10u32.overflowing_shr(132);
 
 const NEG_A: (u32, bool) = 0u32.overflowing_neg();
-const NEG_B: (u32, bool) = core::u32::MAX.overflowing_neg();
+const NEG_B: (u32, bool) = u32::MAX.overflowing_neg();
 
 const ABS_POS: (i32, bool) = 10i32.overflowing_abs();
 const ABS_NEG: (i32, bool) = (-10i32).overflowing_abs();