]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/half-open-range-patterns/half-open-range-pats-thir-lower-empty.rs
Update tests to remove old numeric constants
[rust.git] / src / test / ui / half-open-range-patterns / half-open-range-pats-thir-lower-empty.rs
index 904efda903c693ce5ab5faba16776798b2379cb0..2c8e554b229c86181ffa63fa91ce7f1bda0d36f4 100644 (file)
@@ -9,42 +9,42 @@ macro_rules! m {
 }
 
 fn main() {
-    m!(0, ..core::u8::MIN);
+    m!(0, ..u8::MIN);
     //~^ ERROR lower range bound must be less than upper
     //~| ERROR lower range bound must be less than upper
-    m!(0, ..core::u16::MIN);
+    m!(0, ..u16::MIN);
     //~^ ERROR lower range bound must be less than upper
     //~| ERROR lower range bound must be less than upper
-    m!(0, ..core::u32::MIN);
+    m!(0, ..u32::MIN);
     //~^ ERROR lower range bound must be less than upper
     //~| ERROR lower range bound must be less than upper
-    m!(0, ..core::u64::MIN);
+    m!(0, ..u64::MIN);
     //~^ ERROR lower range bound must be less than upper
     //~| ERROR lower range bound must be less than upper
-    m!(0, ..core::u128::MIN);
+    m!(0, ..u128::MIN);
     //~^ ERROR lower range bound must be less than upper
     //~| ERROR lower range bound must be less than upper
 
-    m!(0, ..core::i8::MIN);
+    m!(0, ..i8::MIN);
     //~^ ERROR lower range bound must be less than upper
     //~| ERROR lower range bound must be less than upper
-    m!(0, ..core::i16::MIN);
+    m!(0, ..i16::MIN);
     //~^ ERROR lower range bound must be less than upper
     //~| ERROR lower range bound must be less than upper
-    m!(0, ..core::i32::MIN);
+    m!(0, ..i32::MIN);
     //~^ ERROR lower range bound must be less than upper
     //~| ERROR lower range bound must be less than upper
-    m!(0, ..core::i64::MIN);
+    m!(0, ..i64::MIN);
     //~^ ERROR lower range bound must be less than upper
     //~| ERROR lower range bound must be less than upper
-    m!(0, ..core::i128::MIN);
+    m!(0, ..i128::MIN);
     //~^ ERROR lower range bound must be less than upper
     //~| ERROR lower range bound must be less than upper
 
-    m!(0f32, ..core::f32::NEG_INFINITY);
+    m!(0f32, ..f32::NEG_INFINITY);
     //~^ ERROR lower range bound must be less than upper
     //~| ERROR lower range bound must be less than upper
-    m!(0f64, ..core::f64::NEG_INFINITY);
+    m!(0f64, ..f64::NEG_INFINITY);
     //~^ ERROR lower range bound must be less than upper
     //~| ERROR lower range bound must be less than upper