blob: 47ab31cd797b8ea58e2bce30d14266267a3e0a85 [file] [log] [blame]
error: type parameter `impl Deref<Target = Self>` is part of concrete type but not used in parameter list for the `impl Trait` type alias
--> $DIR/issue-57700.rs:19:58
|
LL | fn foo(self: impl Deref<Target = Self>) -> Self::Bar {
| __________________________________________________________^
LL | |
LL | | self
LL | | }
| |_____^
error: aborting due to previous error