2018-02-07 21:35:35 -06:00
|
|
|
error[E0375]: implementing the trait `CoerceUnsized` requires multiple coercions
|
2019-04-22 11:35:37 -05:00
|
|
|
--> $DIR/E0375.rs:10:12
|
2018-02-07 21:35:35 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | impl<T, U> CoerceUnsized<Foo<U, T>> for Foo<T, U> {}
|
2018-02-07 21:35:35 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ requires multiple coercions
|
|
|
|
|
|
|
|
|
= note: `CoerceUnsized` may only be implemented for a coercion between structures with one field being coerced
|
2018-10-09 00:13:07 -05:00
|
|
|
= note: currently, 2 fields need coercions: `b` (`T` to `U`), `c` (`U` to `T`)
|
2018-02-07 21:35:35 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0375`.
|