]>
Commit | Line | Data |
---|---|---|
17df50a5 | 1 | error[E0107]: missing generics for associated type `StreamingIterator::Item` |
136023e0 | 2 | --> $DIR/issue-81862.rs:5:40 |
17df50a5 XL |
3 | | |
4 | LL | fn next(&mut self) -> Option<Self::Item>; | |
5 | | ^^^^ expected 1 lifetime argument | |
6 | | | |
7 | note: associated type defined here, with 1 lifetime parameter: `'a` | |
136023e0 | 8 | --> $DIR/issue-81862.rs:4:10 |
17df50a5 XL |
9 | | |
10 | LL | type Item<'a>; | |
11 | | ^^^^ -- | |
12 | help: add missing lifetime argument | |
13 | | | |
923072b8 | 14 | LL | fn next(&mut self) -> Option<Self::Item<'a>>; |
94222f64 | 15 | | ~~~~~~~~ |
17df50a5 XL |
16 | |
17 | error: aborting due to previous error | |
18 | ||
19 | For more information about this error, try `rustc --explain E0107`. |