]>
Commit | Line | Data |
---|---|---|
dfeec247 | 1 | error[E0599]: no associated item named `Item` found for type parameter `T` in the current scope |
0731742a | 2 | --> $DIR/issue-38919.rs:2:8 |
8faf50e0 | 3 | | |
064997fb FG |
4 | LL | fn foo<T: Iterator>() { |
5 | | - associated item `Item` not found for this type parameter | |
532ac7d7 XL |
6 | LL | T::Item; |
7 | | ^^^^ associated item not found in `T` | |
8faf50e0 | 8 | |
4b012472 | 9 | error: aborting due to 1 previous error |
8faf50e0 XL |
10 | |
11 | For more information about this error, try `rustc --explain E0599`. |