]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type-alias-impl-trait/issue-53598.stderr
Move `{core,std}::stream::Stream` to `{core,std}::async_iter::AsyncIterator`.
[rust.git] / src / test / ui / type-alias-impl-trait / issue-53598.stderr
1 error: type parameter `T` is part of concrete type but not used in parameter list for the `impl Trait` type alias
2   --> $DIR/issue-53598.rs:20:42
3    |
4 LL |       fn foo<T: Debug>(_: T) -> Self::Item {
5    |  __________________________________________^
6 LL | |
7 LL | |         S::<T>(Default::default())
8 LL | |     }
9    | |_____^
10
11 error: aborting due to previous error
12