summary refs log tree commit diff
path: root/src/test/ui/impl-trait/issue-55872.stderr
blob: 41d7beb22fa22553d296d576900e7ef7c6ac90c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error: type parameter `T` is part of concrete type but not used in parameter list for the `impl Trait` type alias
  --> $DIR/issue-55872.rs:14:28
   |
LL |       fn foo<T>() -> Self::E {
   |  ____________________________^
LL | |
LL | |         || ()
LL | |     }
   | |_____^

error: aborting due to previous error