|
1 | 1 | error[E0207]: the type parameter `U` is not constrained by the impl trait, self type, or predicates
|
2 |
| - --> $DIR/impl-unused-tps.rs:13:8 |
| 2 | + --> $DIR/impl-unused-tps.rs:15:8 |
3 | 3 | |
|
4 | 4 | LL | impl<T,U> Foo<T> for [isize;1] {
|
5 | 5 | | ^ unconstrained type parameter
|
6 | 6 |
|
7 | 7 | error[E0207]: the type parameter `U` is not constrained by the impl trait, self type, or predicates
|
8 |
| - --> $DIR/impl-unused-tps.rs:30:8 |
| 8 | + --> $DIR/impl-unused-tps.rs:31:8 |
9 | 9 | |
|
10 | 10 | LL | impl<T,U> Bar for T {
|
11 | 11 | | ^ unconstrained type parameter
|
12 | 12 |
|
13 | 13 | error[E0207]: the type parameter `U` is not constrained by the impl trait, self type, or predicates
|
14 |
| - --> $DIR/impl-unused-tps.rs:38:8 |
| 14 | + --> $DIR/impl-unused-tps.rs:39:8 |
15 | 15 | |
|
16 | 16 | LL | impl<T,U> Bar for T
|
17 | 17 | | ^ unconstrained type parameter
|
18 | 18 |
|
19 | 19 | error[E0207]: the type parameter `U` is not constrained by the impl trait, self type, or predicates
|
20 |
| - --> $DIR/impl-unused-tps.rs:46:8 |
| 20 | + --> $DIR/impl-unused-tps.rs:47:8 |
21 | 21 | |
|
22 | 22 | LL | impl<T,U,V> Foo<T> for T
|
23 | 23 | | ^ unconstrained type parameter
|
24 | 24 |
|
25 | 25 | error[E0207]: the type parameter `V` is not constrained by the impl trait, self type, or predicates
|
26 |
| - --> $DIR/impl-unused-tps.rs:46:10 |
| 26 | + --> $DIR/impl-unused-tps.rs:47:10 |
27 | 27 | |
|
28 | 28 | LL | impl<T,U,V> Foo<T> for T
|
29 | 29 | | ^ unconstrained type parameter
|
30 | 30 |
|
31 |
| -error: aborting due to 5 previous errors |
| 31 | +error[E0119]: conflicting implementations of trait `Foo<_>` for type `[isize; 0]` |
| 32 | + --> $DIR/impl-unused-tps.rs:27:1 |
| 33 | + | |
| 34 | +LL | impl<T> Foo<T> for [isize;0] { |
| 35 | + | ---------------------------- first implementation here |
| 36 | +... |
| 37 | +LL | impl<T,U> Foo<T> for U { |
| 38 | + | ^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `[isize; 0]` |
| 39 | + |
| 40 | +error[E0275]: overflow evaluating the requirement `([isize; 0], _): Sized` |
| 41 | + | |
| 42 | + = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`impl_unused_tps`) |
| 43 | +note: required for `([isize; 0], _)` to implement `Bar` |
| 44 | + --> $DIR/impl-unused-tps.rs:31:11 |
| 45 | + | |
| 46 | +LL | impl<T,U> Bar for T { |
| 47 | + | - ^^^ ^ |
| 48 | + | | |
| 49 | + | unsatisfied trait bound introduced here |
| 50 | + = note: 126 redundant requirements hidden |
| 51 | + = note: required for `([isize; 0], _)` to implement `Bar` |
| 52 | + |
| 53 | +error: aborting due to 7 previous errors |
32 | 54 |
|
33 |
| -For more information about this error, try `rustc --explain E0207`. |
| 55 | +Some errors have detailed explanations: E0119, E0207, E0275. |
| 56 | +For more information about an error, try `rustc --explain E0119`. |
0 commit comments