2018-08-08 12:28:26 +00:00
|
|
|
error[E0207]: the type parameter `T` is not constrained by the impl trait, self type, or predicates
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/impl-unused-tps-inherent.rs:9:6
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | impl<T> MyType {
|
|
|
|
| ^ unconstrained type parameter
|
|
|
|
|
|
|
|
error[E0207]: the type parameter `U` is not constrained by the impl trait, self type, or predicates
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/impl-unused-tps-inherent.rs:17:8
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | impl<T,U> MyType1<T> {
|
|
|
|
| ^ unconstrained type parameter
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0207`.
|