]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0376.stderr
Auto merge of #47956 - retep998:is-nibbles, r=BurntSushi
[rust.git] / src / test / ui / error-codes / E0376.stderr
1 error[E0376]: the trait `CoerceUnsized` may only be implemented for a coercion between structures
2   --> $DIR/E0376.rs:18:1
3    |
4 18 | impl<T, U> CoerceUnsized<U> for Foo<T> {} //~ ERROR E0376
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7 error: aborting due to previous error
8