From b9c055cc70816585ccd715f24b5fc965fe286174 Mon Sep 17 00:00:00 2001 From: Edward Wang Date: Sun, 1 Feb 2015 14:29:42 +0800 Subject: [PATCH] Fix fallout --- src/test/compile-fail/range-1.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/test/compile-fail/range-1.rs b/src/test/compile-fail/range-1.rs index fbc9ad99b724..94903a11be0f 100644 --- a/src/test/compile-fail/range-1.rs +++ b/src/test/compile-fail/range-1.rs @@ -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` - //~^^ 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];