os-rust/tests/ui/error-codes/E0375.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
550 B
Text
Raw Normal View History

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