fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
1.2 KiB33 linesraw
1error[E0207]: the type parameter `U` is not constrained by the impl trait, self type, or predicates
2  --> $DIR/impl-unused-tps.rs:13:8
3   |
4LL | impl<T,U> Foo<T> for [isize;1] {
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.rs:30:8
9   |
10LL | impl<T,U> Bar for T {
11   |        ^ unconstrained type parameter
12
13error[E0207]: the type parameter `U` is not constrained by the impl trait, self type, or predicates
14  --> $DIR/impl-unused-tps.rs:38:8
15   |
16LL | impl<T,U> Bar for T
17   |        ^ unconstrained type parameter
18
19error[E0207]: the type parameter `U` is not constrained by the impl trait, self type, or predicates
20  --> $DIR/impl-unused-tps.rs:46:8
21   |
22LL | impl<T,U,V> Foo<T> for T
23   |        ^ unconstrained type parameter
24
25error[E0207]: the type parameter `V` is not constrained by the impl trait, self type, or predicates
26  --> $DIR/impl-unused-tps.rs:46:10
27   |
28LL | impl<T,U,V> Foo<T> for T
29   |          ^ unconstrained type parameter
30
31error: aborting due to 5 previous errors
32
33For more information about this error, try `rustc --explain E0207`.