]> git.proxmox.com Git - rustc.git/blame - src/test/ui/generic-associated-types/issue-81862.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / generic-associated-types / issue-81862.stderr
CommitLineData
17df50a5 1error[E0107]: missing generics for associated type `StreamingIterator::Item`
136023e0 2 --> $DIR/issue-81862.rs:5:40
17df50a5
XL
3 |
4LL | fn next(&mut self) -> Option<Self::Item>;
5 | ^^^^ expected 1 lifetime argument
6 |
7note: associated type defined here, with 1 lifetime parameter: `'a`
136023e0 8 --> $DIR/issue-81862.rs:4:10
17df50a5
XL
9 |
10LL | type Item<'a>;
11 | ^^^^ --
12help: add missing lifetime argument
13 |
14LL | fn next(&mut self) -> Option<Self::Item<'_>>;
15 | ^^^^^^^^
16
17error: aborting due to previous error
18
19For more information about this error, try `rustc --explain E0107`.