]> git.lizzy.rs Git - rust.git/blob - tests/ui/specialization/issue-44861.stderr
Rollup merge of #106638 - RalfJung:realstd, r=thomcc
[rust.git] / tests / ui / specialization / issue-44861.stderr
1 error[E0277]: the trait bound `(): CoerceUnsized<*const [u8]>` is not satisfied
2   --> $DIR/issue-44861.rs:21:26
3    |
4 LL |     default type Data2 = ();
5    |                          ^^ the trait `CoerceUnsized<*const [u8]>` is not implemented for `()`
6    |
7 note: required by a bound in `Smartass::Data2`
8   --> $DIR/issue-44861.rs:12:17
9    |
10 LL |     type Data2: CoerceUnsized<*const [u8]>;
11    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Smartass::Data2`
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0277`.