]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type-alias-impl-trait/issue-57700.stderr
Auto merge of #85357 - Andy-Python-Programmer:aarch64_uefi_target, r=petrochenkov
[rust.git] / src / test / ui / type-alias-impl-trait / issue-57700.stderr
1 error: type parameter `impl Deref<Target = Self>` is part of concrete type but not used in parameter list for the `impl Trait` type alias
2   --> $DIR/issue-57700.rs:16:58
3    |
4 LL |       fn foo(self: impl Deref<Target = Self>) -> Self::Bar {
5    |  __________________________________________________________^
6 LL | |
7 LL | |         self
8 LL | |     }
9    | |_____^
10
11 error: aborting due to previous error
12