1 error[E0308]: mismatched types
2 --> $DIR/range-1.rs:5:19
4 LL | let _ = 0u32..10i32;
5 | ^^^^^ expected `u32`, found `i32`
7 error[E0277]: the trait bound `bool: std::iter::Step` is not satisfied
8 --> $DIR/range-1.rs:9:14
10 LL | for i in false..true {}
11 | ^^^^^^^^^^^ the trait `std::iter::Step` is not implemented for `bool`
13 = note: required because of the requirements on the impl of `std::iter::Iterator` for `std::ops::Range<bool>`
15 error[E0277]: the size for values of type `[{integer}]` cannot be known at compilation time
16 --> $DIR/range-1.rs:14:17
18 LL | let range = *arr..;
19 | ^^^^^^ doesn't have a size known at compile-time
21 = help: the trait `std::marker::Sized` is not implemented for `[{integer}]`
22 = note: required by `std::ops::RangeFrom`
24 error: aborting due to 3 previous errors
26 Some errors have detailed explanations: E0277, E0308.
27 For more information about an error, try `rustc --explain E0277`.