fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
407 B11 linesraw
1error[E0599]: no associated item named `Item` found for type parameter `T` in the current scope
2  --> $DIR/issue-38919.rs:2:8
3   |
4LL | fn foo<T: Iterator>() {
5   |        - associated item `Item` not found for this type parameter
6LL |     T::Item;
7   |        ^^^^ associated item not found in `T`
8
9error: aborting due to previous error
10
11For more information about this error, try `rustc --explain E0599`.