91b9ffeab0
In `report_fullfillment_errors` push back `T: Sized`, `T: WellFormed` and coercion errors to the end of the list. The pre-existing deduplication logic eliminates redundant errors better that way, keeping the resulting output with fewer errors than before, while also having more detail.
24 lines
665 B
Plaintext
24 lines
665 B
Plaintext
error[E0283]: type annotations needed
|
|
--> $DIR/multiple-impl-apply.rs:34:9
|
|
|
|
|
LL | let y = x.into();
|
|
| ^ ---- type must be known at this point
|
|
|
|
|
note: multiple `impl`s satisfying `_: From<Baz>` found
|
|
--> $DIR/multiple-impl-apply.rs:14:1
|
|
|
|
|
LL | impl From<Baz> for Bar {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
...
|
|
LL | impl From<Baz> for Foo {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
= note: required for `Baz` to implement `Into<_>`
|
|
help: consider giving `y` an explicit type
|
|
|
|
|
LL | let y: /* Type */ = x.into();
|
|
| ++++++++++++
|
|
|
|
error: aborting due to previous error
|
|
|
|
For more information about this error, try `rustc --explain E0283`.
|