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.
17 lines
607 B
Plaintext
17 lines
607 B
Plaintext
error[E0283]: type annotations needed
|
|
--> $DIR/runaway-impl-candidate-selection.rs:13:22
|
|
|
|
|
LL | println!("{:?}", iter::<_>());
|
|
| ^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `iter`
|
|
|
|
|
= note: cannot satisfy `_: Iterator`
|
|
note: required by a bound in `iter`
|
|
--> $DIR/runaway-impl-candidate-selection.rs:8:12
|
|
|
|
|
LL | fn iter<T: Iterator>() -> <T as Iterator>::Item {
|
|
| ^^^^^^^^ required by this bound in `iter`
|
|
|
|
error: aborting due to previous error
|
|
|
|
For more information about this error, try `rustc --explain E0283`.
|