]> git.lizzy.rs Git - rust.git/commitdiff
Fix fallout
authorEdward Wang <edward.yu.wang@gmail.com>
Sun, 1 Feb 2015 06:29:42 +0000 (14:29 +0800)
committerEdward Wang <edward.yu.wang@gmail.com>
Sun, 1 Feb 2015 06:29:42 +0000 (14:29 +0800)
src/test/compile-fail/range-1.rs

index fbc9ad99b72434c8299f7a5f13ee37a7eb73603a..94903a11be0ff13e149ca8deb19d45f7899ad40d 100644 (file)
@@ -17,10 +17,7 @@ pub fn main() {
 
     // Float => does not implement iterator.
     for i in 0f32..42f32 {}
-    //~^ ERROR `core::iter::Iterator` is not implemented for the type `core::ops::Range<f32>`
-    //~^^ ERROR
-    //~^^^ ERROR
-    // FIXME(#21528) not fulfilled obligation error should be reported once, not thrice
+    //~^ ERROR the trait `core::num::Int` is not implemented for the type `f32`
 
     // Unsized type.
     let arr: &[_] = &[1us, 2, 3];