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