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: Step` is not satisfied
8 --> $DIR/range-1.rs:9:14
10 LL | for i in false..true {}
11 | ^^^^^^^^^^^ the trait `Step` is not implemented for `bool`
13 = note: required because of the requirements on the impl of `Iterator` for `std::ops::Range<bool>`
14 = note: required because of the requirements on the impl of `IntoIterator` for `std::ops::Range<bool>`
15 = note: required by `into_iter`
17 error[E0277]: the size for values of type `[{integer}]` cannot be known at compilation time
18 --> $DIR/range-1.rs:14:17
20 LL | let range = *arr..;
21 | ^^^^^^ doesn't have a size known at compile-time
23 ::: $SRC_DIR/core/src/ops/range.rs:LL:COL
25 LL | pub struct RangeFrom<Idx> {
26 | --- required by this bound in `RangeFrom`
28 = help: the trait `Sized` is not implemented for `[{integer}]`
30 error: aborting due to 3 previous errors
32 Some errors have detailed explanations: E0277, E0308.
33 For more information about an error, try `rustc --explain E0277`.