We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd977ee commit b9c055cCopy full SHA for b9c055c
src/test/compile-fail/range-1.rs
@@ -17,10 +17,7 @@ pub fn main() {
17
18
// Float => does not implement iterator.
19
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
+ //~^ ERROR the trait `core::num::Int` is not implemented for the type `f32`
24
25
// Unsized type.
26
let arr: &[_] = &[1us, 2, 3];
0 commit comments