]> git.lizzy.rs Git - rust.git/blob - src/test/ui/mismatched_types/issue-74918-missing-lifetime.stderr
Rollup merge of #93487 - yerke:yerke/fix-link-toolchain-in-setup, r=Mark-Simulacrum
[rust.git] / src / test / ui / mismatched_types / issue-74918-missing-lifetime.stderr
1 error[E0106]: missing lifetime specifier
2   --> $DIR/issue-74918-missing-lifetime.rs:9:31
3    |
4 LL |     type Item = IteratorChunk<T, S>;
5    |                               ^ expected named lifetime parameter
6    |
7 help: consider introducing a named lifetime parameter
8    |
9 LL |     type Item<'a> = IteratorChunk<'a, T, S>;
10    |              ++++                 +++
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0106`.