fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0374]: the trait `CoerceUnsized` may only be implemented for a coercion between structures 2 --> $DIR/E0374.rs:8:1 3 | 4LL | impl<T, U> CoerceUnsized<Foo<U>> for Foo<T> 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 | 7 = note: expected a single field to be coerced, none found 8 9error: aborting due to previous error 10 11For more information about this error, try `rustc --explain E0374`.