@@ -2,9 +2,12 @@ error[E0412]: cannot find type `N` in this scope
2
2
--> $DIR/issue-50480.rs:3:12
3
3
|
4
4
LL | struct Foo(N, NotDefined, <i32 as Iterator>::Item, Vec<i32>, String);
5
- | -^ not found in this scope
6
- | |
7
- | help: you might be missing a type parameter: `<N>`
5
+ | ^ not found in this scope
6
+ |
7
+ help: you might be missing a type parameter
8
+ |
9
+ LL | struct Foo<N>(N, NotDefined, <i32 as Iterator>::Item, Vec<i32>, String);
10
+ | +++
8
11
9
12
error[E0412]: cannot find type `NotDefined` in this scope
10
13
--> $DIR/issue-50480.rs:3:15
@@ -16,17 +19,23 @@ error[E0412]: cannot find type `N` in this scope
16
19
--> $DIR/issue-50480.rs:3:12
17
20
|
18
21
LL | struct Foo(N, NotDefined, <i32 as Iterator>::Item, Vec<i32>, String);
19
- | -^ not found in this scope
20
- | |
21
- | help: you might be missing a type parameter: `<N>`
22
+ | ^ not found in this scope
23
+ |
24
+ help: you might be missing a type parameter
25
+ |
26
+ LL | struct Foo<N>(N, NotDefined, <i32 as Iterator>::Item, Vec<i32>, String);
27
+ | +++
22
28
23
29
error[E0412]: cannot find type `NotDefined` in this scope
24
30
--> $DIR/issue-50480.rs:3:15
25
31
|
26
32
LL | struct Foo(N, NotDefined, <i32 as Iterator>::Item, Vec<i32>, String);
27
- | - ^^^^^^^^^^ not found in this scope
28
- | |
29
- | help: you might be missing a type parameter: `<NotDefined>`
33
+ | ^^^^^^^^^^ not found in this scope
34
+ |
35
+ help: you might be missing a type parameter
36
+ |
37
+ LL | struct Foo<NotDefined>(N, NotDefined, <i32 as Iterator>::Item, Vec<i32>, String);
38
+ | ++++++++++++
30
39
31
40
error[E0412]: cannot find type `N` in this scope
32
41
--> $DIR/issue-50480.rs:12:18
0 commit comments