1 error[E0277]: the trait bound `T: Trait` is not satisfied
2 --> $DIR/issue-89686.rs:18:9
4 LL | async move { self.f().await }
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Trait` is not implemented for `T`
7 help: consider restricting type parameter `T`
9 LL | type G<'a, T: Trait> = impl Future<Output = ()> + 'a;
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0277`.