@@ -2,9 +2,12 @@ error[E0412]: cannot find type `N` in this scope
22 --> $DIR/issue-50480.rs:3:12
33 |
44LL | 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+ | +++
811
912error[E0412]: cannot find type `NotDefined` in this scope
1013 --> $DIR/issue-50480.rs:3:15
@@ -16,17 +19,23 @@ error[E0412]: cannot find type `N` in this scope
1619 --> $DIR/issue-50480.rs:3:12
1720 |
1821LL | 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+ | +++
2228
2329error[E0412]: cannot find type `NotDefined` in this scope
2430 --> $DIR/issue-50480.rs:3:15
2531 |
2632LL | 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+ | ++++++++++++
3039
3140error[E0412]: cannot find type `N` in this scope
3241 --> $DIR/issue-50480.rs:12:18
0 commit comments