rust/tests/ui/issues/issue-38919.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
409 B
Plaintext
Raw Normal View History

error[E0599]: no associated item named `Item` found for type parameter `T` in the current scope
2018-12-07 18:15:36 +00:00
--> $DIR/issue-38919.rs:2:8
2018-07-15 21:11:54 +00:00
|
LL | fn foo<T: Iterator>() {
| - associated item `Item` not found for this type parameter
2019-03-09 12:03:44 +00:00
LL | T::Item;
2019-03-10 23:20:15 +00:00
| ^^^^ associated item not found in `T`
2018-07-15 21:11:54 +00:00
error: aborting due to 1 previous error
2018-07-15 21:11:54 +00:00
For more information about this error, try `rustc --explain E0599`.