]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0207]: the type parameter `T` is not constrained by the impl trait, self type, or predicates |
0731742a | 2 | --> $DIR/impl-unused-tps-inherent.rs:9:6 |
b7449926 XL |
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 | |
0731742a | 8 | --> $DIR/impl-unused-tps-inherent.rs:17:8 |
b7449926 XL |
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`. |