fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
543 B15 linesraw
1error[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   |
4LL | impl<T> MyType {
5   |      ^ unconstrained type parameter
6
7error[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   |
10LL | impl<T,U> MyType1<T> {
11   |        ^ unconstrained type parameter
12
13error: aborting due to 2 previous errors
14
15For more information about this error, try `rustc --explain E0207`.