]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-50480.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / issues / issue-50480.stderr
1 error[E0412]: cannot find type `NotDefined` in this scope
2 --> $DIR/issue-50480.rs:3:12
3 |
4 LL | struct Foo(NotDefined, <i32 as Iterator>::Item, Vec<i32>, String);
5 | ^^^^^^^^^^ not found in this scope
6
7 error[E0412]: cannot find type `NotDefined` in this scope
8 --> $DIR/issue-50480.rs:3:12
9 |
10 LL | struct Foo(NotDefined, <i32 as Iterator>::Item, Vec<i32>, String);
11 | ^^^^^^^^^^ not found in this scope
12
13 error[E0277]: `i32` is not an iterator
14 --> $DIR/issue-50480.rs:3:24
15 |
16 LL | struct Foo(NotDefined, <i32 as Iterator>::Item, Vec<i32>, String);
17 | ^^^^^^^^^^^^^^^^^^^^^^^ `i32` is not an iterator
18 |
19 = help: the trait `Iterator` is not implemented for `i32`
20 = 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`
21
22 error[E0204]: the trait `Copy` may not be implemented for this type
23 --> $DIR/issue-50480.rs:1:17
24 |
25 LL | #[derive(Clone, Copy)]
26 | ^^^^
27 LL |
28 LL | struct Foo(NotDefined, <i32 as Iterator>::Item, Vec<i32>, String);
29 | -------- ------ this field does not implement `Copy`
30 | |
31 | this field does not implement `Copy`
32 |
33 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
34
35 error: aborting due to 4 previous errors
36
37 Some errors have detailed explanations: E0204, E0277, E0412.
38 For more information about an error, try `rustc --explain E0204`.