]> git.proxmox.com Git - rustc.git/blame - src/test/ui/type-alias-impl-trait/issue-89686.stderr
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / type-alias-impl-trait / issue-89686.stderr
CommitLineData
3c0e092e 1error[E0277]: the trait bound `T: Trait` is not satisfied
04454e1e 2 --> $DIR/issue-89686.rs:18:9
3c0e092e 3 |
04454e1e
FG
4LL | async move { self.f().await }
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Trait` is not implemented for `T`
3c0e092e
XL
6 |
7help: consider restricting type parameter `T`
8 |
2b03887a 9LL | type G<'a, T: Trait> = impl Future<Output = ()> + 'a;
3c0e092e
XL
10 | +++++++
11
5e7ed085 12error: aborting due to previous error
3c0e092e 13
5e7ed085 14For more information about this error, try `rustc --explain E0277`.