fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
589 B15 linesraw
1error[E0277]: the trait bound `(): CoerceUnsized<*const [u8]>` is not satisfied
2  --> $DIR/issue-44861.rs:21:26
3   |
4LL |     default type Data2 = ();
5   |                          ^^ the trait `CoerceUnsized<*const [u8]>` is not implemented for `()`
6   |
7note: required by a bound in `Smartass::Data2`
8  --> $DIR/issue-44861.rs:12:17
9   |
10LL |     type Data2: CoerceUnsized<*const [u8]>;
11   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Smartass::Data2`
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0277`.