]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-unused-tps.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / impl-unused-tps.stderr
1 error[E0207]: the type parameter `U` is not constrained by the impl trait, self type, or predicates
2   --> $DIR/impl-unused-tps.rs:23:8
3    |
4 LL | impl<T,U> Foo<T> for [isize;1] {
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.rs:40:8
9    |
10 LL | impl<T,U> Bar for T {
11    |        ^ unconstrained type parameter
12
13 error[E0207]: the type parameter `U` is not constrained by the impl trait, self type, or predicates
14   --> $DIR/impl-unused-tps.rs:48:8
15    |
16 LL | impl<T,U> Bar for T
17    |        ^ unconstrained type parameter
18
19 error[E0207]: the type parameter `U` is not constrained by the impl trait, self type, or predicates
20   --> $DIR/impl-unused-tps.rs:56:8
21    |
22 LL | impl<T,U,V> Foo<T> for T
23    |        ^ unconstrained type parameter
24
25 error[E0207]: the type parameter `V` is not constrained by the impl trait, self type, or predicates
26   --> $DIR/impl-unused-tps.rs:56:10
27    |
28 LL | impl<T,U,V> Foo<T> for T
29    |          ^ unconstrained type parameter
30
31 error: aborting due to 5 previous errors
32
33 For more information about this error, try `rustc --explain E0207`.