Fix suggestion to use lifetime in type
This commit is contained in:
parent
4b9ac51617
commit
0f7205f202
2 changed files with 9 additions and 3 deletions
|
|
@ -6,8 +6,8 @@ LL | type Item = IteratorChunk<T, S>;
|
|||
|
|
||||
help: consider introducing a named lifetime parameter
|
||||
|
|
||||
LL | type Item<'a> = IteratorChunk<<'a>T, S>;
|
||||
| ^^^^ ^^^^
|
||||
LL | type Item<'a> = IteratorChunk<'a, T, S>;
|
||||
| ^^^^ ^^^
|
||||
|
||||
error: `impl` item signature doesn't match `trait` item signature
|
||||
--> $DIR/issue-74918-missing-lifetime.rs:11:5
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue