]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type-alias-impl-trait/impl-with-unconstrained-param.stderr
Auto merge of #95454 - randomicon00:fix95444, r=wesleywiser
[rust.git] / src / test / ui / type-alias-impl-trait / impl-with-unconstrained-param.stderr
1 error[E0207]: the type parameter `T` is not constrained by the impl trait, self type, or predicates
2   --> $DIR/impl-with-unconstrained-param.rs:11:6
3    |
4 LL | impl<T> X for () {
5    |      ^ unconstrained type parameter
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0207`.