]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0375.stderr
Move some E0XXX to `ui`
[rust.git] / src / test / ui / error-codes / E0375.stderr
1 error[E0375]: implementing the trait `CoerceUnsized` requires multiple coercions
2   --> $DIR/E0375.rs:22:12
3    |
4 22 | impl<T, U> CoerceUnsized<Foo<U, T>> for Foo<T, U> {}
5    |            ^^^^^^^^^^^^^^^^^^^^^^^^ requires multiple coercions
6    |
7    = note: `CoerceUnsized` may only be implemented for a coercion between structures with one field being coerced
8    = note: currently, 2 fields need coercions: b (T to U), c (U to T)
9
10 error: aborting due to previous error
11