]> git.lizzy.rs Git - rust.git/blob - tests/ui/impl-unused-tps-inherent.stderr
Rollup merge of #107740 - oli-obk:lock_tcx, r=petrochenkov
[rust.git] / tests / ui / impl-unused-tps-inherent.stderr
1 error[E0207]: the type parameter `T` is not constrained by the impl trait, self type, or predicates
2   --> $DIR/impl-unused-tps-inherent.rs:9:6
3    |
4 LL | impl<T> MyType {
5    |      ^ unconstrained type parameter
6
7 error[E0207]: the type parameter `U` is not constrained by the impl trait, self type, or predicates
8   --> $DIR/impl-unused-tps-inherent.rs:17:8
9    |
10 LL | impl<T,U> MyType1<T> {
11    |        ^ unconstrained type parameter
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0207`.