about summary refs log tree commit diff
path: root/tests/ui/impl-trait/issues/issue-55872-2.stderr
blob: 51a7dd00ade63118b0df4c464d26b415ff850acb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
error: type parameter `T` is part of concrete type but not used in parameter list for the `impl Trait` type alias
  --> $DIR/issue-55872-2.rs:13:20
   |
LL |     fn foo<T>() -> Self::E {
   |                    ^^^^^^^

error: type parameter `T` is part of concrete type but not used in parameter list for the `impl Trait` type alias
  --> $DIR/issue-55872-2.rs:13:20
   |
LL |     fn foo<T>() -> Self::E {
   |                    ^^^^^^^
   |
   = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`

error: aborting due to 2 previous errors