You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/test/ui/issues/issue-50480.stderr
+14-16
Original file line number
Diff line number
Diff line change
@@ -1,35 +1,35 @@
1
1
error[E0412]: cannot find type `N` in this scope
2
-
--> $DIR/issue-50480.rs:4:12
2
+
--> $DIR/issue-50480.rs:3:12
3
3
|
4
4
LL | struct Foo(N, NotDefined, <i32 as Iterator>::Item, Vec<i32>, String);
5
5
| -^ not found in this scope
6
6
| |
7
7
| help: you might be missing a type parameter: `<N>`
8
8
9
9
error[E0412]: cannot find type `NotDefined` in this scope
10
-
--> $DIR/issue-50480.rs:4:15
10
+
--> $DIR/issue-50480.rs:3:15
11
11
|
12
12
LL | struct Foo(N, NotDefined, <i32 as Iterator>::Item, Vec<i32>, String);
13
13
| ^^^^^^^^^^ not found in this scope
14
14
15
15
error[E0412]: cannot find type `N` in this scope
16
-
--> $DIR/issue-50480.rs:4:12
16
+
--> $DIR/issue-50480.rs:3:12
17
17
|
18
18
LL | struct Foo(N, NotDefined, <i32 as Iterator>::Item, Vec<i32>, String);
19
19
| -^ not found in this scope
20
20
| |
21
21
| help: you might be missing a type parameter: `<N>`
22
22
23
23
error[E0412]: cannot find type `NotDefined` in this scope
24
-
--> $DIR/issue-50480.rs:4:15
24
+
--> $DIR/issue-50480.rs:3:15
25
25
|
26
26
LL | struct Foo(N, NotDefined, <i32 as Iterator>::Item, Vec<i32>, String);
27
27
| - ^^^^^^^^^^ not found in this scope
28
28
| |
29
29
| help: you might be missing a type parameter: `<NotDefined>`
30
30
31
31
error[E0412]: cannot find type `N` in this scope
32
-
--> $DIR/issue-50480.rs:13:18
32
+
--> $DIR/issue-50480.rs:12:18
33
33
|
34
34
LL | struct Bar<T>(T, N, NotDefined, <i32 as Iterator>::Item, Vec<i32>, String);
35
35
| - ^
@@ -46,27 +46,26 @@ LL | struct Bar<T, N>(T, N, NotDefined, <i32 as Iterator>::Item, Vec<i32>, Strin
46
46
| +++
47
47
48
48
error[E0412]: cannot find type `NotDefined` in this scope
49
-
--> $DIR/issue-50480.rs:13:21
49
+
--> $DIR/issue-50480.rs:12:21
50
50
|
51
51
LL | struct Bar<T>(T, N, NotDefined, <i32 as Iterator>::Item, Vec<i32>, String);
52
52
| ^^^^^^^^^^ not found in this scope
53
53
54
54
error[E0277]: `i32` is not an iterator
55
-
--> $DIR/issue-50480.rs:1:17
55
+
--> $DIR/issue-50480.rs:3:27
56
56
|
57
-
LL | #[derive(Clone, Copy)]
58
-
| ^^^^ `i32` is not an iterator
57
+
LL | struct Foo(N, NotDefined, <i32 as Iterator>::Item, Vec<i32>, String);
58
+
| ^^^^^^^^^^^^^^^^^^^^^^^ `i32` is not an iterator
59
59
|
60
60
= help: the trait `Iterator` is not implemented for `i32`
61
61
= 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`
62
-
= note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info)
63
62
64
63
error[E0204]: the trait `Copy` may not be implemented for this type
65
64
--> $DIR/issue-50480.rs:1:17
66
65
|
67
66
LL | #[derive(Clone, Copy)]
68
67
| ^^^^
69
-
...
68
+
LL |
70
69
LL | struct Foo(N, NotDefined, <i32 as Iterator>::Item, Vec<i32>, String);
71
70
| -------- ------ this field does not implement `Copy`
= note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info)
76
75
77
76
error[E0277]: `i32` is not an iterator
78
-
--> $DIR/issue-50480.rs:10:17
77
+
--> $DIR/issue-50480.rs:12:33
79
78
|
80
-
LL | #[derive(Clone, Copy)]
81
-
| ^^^^ `i32` is not an iterator
79
+
LL | struct Bar<T>(T, N, NotDefined, <i32 as Iterator>::Item, Vec<i32>, String);
80
+
| ^^^^^^^^^^^^^^^^^^^^^^^ `i32` is not an iterator
82
81
|
83
82
= help: the trait `Iterator` is not implemented for `i32`
84
83
= 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`
85
-
= note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info)
86
84
87
85
error[E0204]: the trait `Copy` may not be implemented for this type
88
86
--> $DIR/issue-50480.rs:10:17
89
87
|
90
88
LL | #[derive(Clone, Copy)]
91
89
| ^^^^
92
-
...
90
+
LL |
93
91
LL | struct Bar<T>(T, N, NotDefined, <i32 as Iterator>::Item, Vec<i32>, String);
94
92
| -------- ------ this field does not implement `Copy`
0 commit comments