Skip to content

Commit b9c055c

Browse files
committed
Fix fallout
1 parent cd977ee commit b9c055c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/test/compile-fail/range-1.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,7 @@ pub fn main() {
1717

1818
// Float => does not implement iterator.
1919
for i in 0f32..42f32 {}
20-
//~^ ERROR `core::iter::Iterator` is not implemented for the type `core::ops::Range<f32>`
21-
//~^^ ERROR
22-
//~^^^ ERROR
23-
// FIXME(#21528) not fulfilled obligation error should be reported once, not thrice
20+
//~^ ERROR the trait `core::num::Int` is not implemented for the type `f32`
2421

2522
// Unsized type.
2623
let arr: &[_] = &[1us, 2, 3];

0 commit comments

Comments
 (0)