mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-10 07:33:53 +00:00
13 lines
511 B
Plaintext
13 lines
511 B
Plaintext
|
error[E0277]: the trait bound `(): std::ops::CoerceUnsized<*const [u8]>` is not satisfied
|
||
|
--> $DIR/issue-44861.rs:21:5
|
||
|
|
|
||
|
LL | type Data2: CoerceUnsized<*const [u8]>;
|
||
|
| --------------------------------------- required by `Smartass::Data2`
|
||
|
...
|
||
|
LL | default type Data2 = ();
|
||
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::ops::CoerceUnsized<*const [u8]>` is not implemented for `()`
|
||
|
|
||
|
error: aborting due to previous error
|
||
|
|
||
|
For more information about this error, try `rustc --explain E0277`.
|