fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0412]: cannot find type `NotDefined` in this scope 2 --> $DIR/issue-50480.rs:3:12 3 | 4LL | struct Foo(NotDefined, <i32 as Iterator>::Item, Vec<i32>, String); 5 | ^^^^^^^^^^ not found in this scope 6 7error[E0277]: `i32` is not an iterator 8 --> $DIR/issue-50480.rs:3:24 9 | 10LL | struct Foo(NotDefined, <i32 as Iterator>::Item, Vec<i32>, String); 11 | ^^^^^^^^^^^^^^^^^^^^^^^ `i32` is not an iterator 12 | 13 = help: the trait `std::iter::Iterator` is not implemented for `i32` 14 = 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` 15 16error[E0204]: the trait `Copy` may not be implemented for this type 17 --> $DIR/issue-50480.rs:1:17 18 | 19LL | #[derive(Clone, Copy)] 20 | ^^^^ 21LL | 22LL | struct Foo(NotDefined, <i32 as Iterator>::Item, Vec<i32>, String); 23 | -------- ------ this field does not implement `Copy` 24 | | 25 | this field does not implement `Copy` 26 27error: aborting due to 3 previous errors 28 29Some errors have detailed explanations: E0204, E0277, E0412. 30For more information about an error, try `rustc --explain E0204`.