blob: d87e8c5783b65e1020d8b275a000b90171239f26 [file] [log] [blame]
error: non-defining opaque type use in defining scope
--> $DIR/generic_duplicate_param_use2.rs:10:27
|
LL | fn one<T: Debug>(t: T) -> Two<T, T> {
| ^^^^^^^^^
|
note: type used multiple times
--> $DIR/generic_duplicate_param_use2.rs:8:10
|
LL | type Two<T, U> = impl Debug;
| ^ ^
error: aborting due to previous error