error: non-defining opaque type use in defining scope | |
--> $DIR/generic_duplicate_lifetime_param.rs:7:1 | |
| | |
LL | / fn one<'a>(t: &'a ()) -> Two<'a, 'a> { | |
LL | | t | |
LL | | } | |
| |_^ | |
| | |
note: lifetime used multiple times | |
--> $DIR/generic_duplicate_lifetime_param.rs:5:10 | |
| | |
LL | type Two<'a, 'b> = impl std::fmt::Debug; | |
| ^^ ^^ | |
error: aborting due to previous error | |