error: non-defining opaque type use in defining scope --> $DIR/generic_duplicate_param_use4.rs:13:27 | LL | fn one(t: T) -> Two { | ^^^^^^^^^ | note: type used multiple times --> $DIR/generic_duplicate_param_use4.rs:11:10 | LL | type Two = impl Debug; | ^ ^ error: aborting due to previous error