fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: `u8` is not an iterator 2 --> $DIR/bound.rs:2:10 3 | 4LL | struct T(S<u8>); 5 | ^^^^^ `u8` is not an iterator 6 | 7 = help: the trait `Iterator` is not implemented for `u8` 8 = note: if you want to iterate between `start` until a value `end`, use the exclusive range syntax `start..end` or the inclusive range syntax `start..=end` 9note: required by a bound in `S` 10 --> $DIR/bound.rs:1:13 11 | 12LL | struct S<I: Iterator>(I); 13 | ^^^^^^^^ required by this bound in `S` 14 15error: aborting due to previous error 16 17For more information about this error, try `rustc --explain E0277`.