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