]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/range/range_traits-1.rs
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / ui / range / range_traits-1.rs
index 4f57c32e913e1fa2f4e5b317c6613f2404ee170d..e28e47435c2c2fa999be8b7eabec626e9f8cb160 100644 (file)
@@ -4,45 +4,21 @@ use std::ops::*;
 struct AllTheRanges {
     a: Range<usize>,
     //~^ ERROR can't compare
-    //~| ERROR can't compare
-    //~| ERROR can't compare
-    //~| ERROR can't compare
-    //~| ERROR can't compare
     //~| ERROR Ord
     b: RangeTo<usize>,
     //~^ ERROR can't compare
-    //~| ERROR can't compare
-    //~| ERROR can't compare
-    //~| ERROR can't compare
-    //~| ERROR can't compare
     //~| ERROR Ord
     c: RangeFrom<usize>,
     //~^ ERROR can't compare
-    //~| ERROR can't compare
-    //~| ERROR can't compare
-    //~| ERROR can't compare
-    //~| ERROR can't compare
     //~| ERROR Ord
     d: RangeFull,
     //~^ ERROR can't compare
-    //~| ERROR can't compare
-    //~| ERROR can't compare
-    //~| ERROR can't compare
-    //~| ERROR can't compare
     //~| ERROR Ord
     e: RangeInclusive<usize>,
     //~^ ERROR can't compare
-    //~| ERROR can't compare
-    //~| ERROR can't compare
-    //~| ERROR can't compare
-    //~| ERROR can't compare
     //~| ERROR Ord
     f: RangeToInclusive<usize>,
     //~^ ERROR can't compare
-    //~| ERROR can't compare
-    //~| ERROR can't compare
-    //~| ERROR can't compare
-    //~| ERROR can't compare
     //~| ERROR Ord
 }