2022-10-01 12:19:31 +02:00
|
|
|
error: type parameter `T` is part of concrete type but not used in parameter list for the `impl Trait` type alias
|
2025-04-01 23:48:41 +02:00
|
|
|
--> $DIR/issue-55872-2.rs:13:20
|
2022-10-01 12:19:31 +02:00
|
|
|
|
|
2025-04-01 23:48:41 +02:00
|
|
|
LL | fn foo<T>() -> Self::E {
|
|
|
|
|
| ^^^^^^^
|
2022-10-01 12:19:31 +02:00
|
|
|
|
2023-06-24 10:02:54 +00:00
|
|
|
error: type parameter `T` is part of concrete type but not used in parameter list for the `impl Trait` type alias
|
2025-04-01 23:48:41 +02:00
|
|
|
--> $DIR/issue-55872-2.rs:13:20
|
2023-06-24 10:02:54 +00:00
|
|
|
|
|
2025-04-01 23:48:41 +02:00
|
|
|
LL | fn foo<T>() -> Self::E {
|
|
|
|
|
| ^^^^^^^
|
2023-10-04 18:34:50 +00:00
|
|
|
|
|
|
|
|
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
|
2023-06-24 10:02:54 +00:00
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
2022-10-01 12:19:31 +02:00
|
|
|
|