]>
Commit | Line | Data |
---|---|---|
2c00a5a8 | 1 | error[E0376]: the trait `CoerceUnsized` may only be implemented for a coercion between structures |
0731742a | 2 | --> $DIR/E0376.rs:8:1 |
2c00a5a8 | 3 | | |
0531ce1d | 4 | LL | impl<T, U> CoerceUnsized<U> for Foo<T> {} //~ ERROR E0376 |
2c00a5a8 XL |
5 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
6 | ||
7 | error: aborting due to previous error | |
8 | ||
0531ce1d | 9 | For more information about this error, try `rustc --explain E0376`. |