]> git.lizzy.rs Git - rust.git/blob - src/test/ui/union/union-empty.stderr
Merge commit 'c19edfd71a1d0ddef86c2c67fdb40718d40a72b4' into sync_cg_clif-2022-07-25
[rust.git] / src / test / ui / union / union-empty.stderr
1 error: unions cannot have zero fields
2   --> $DIR/union-empty.rs:1:1
3    |
4 LL | union U {}
5    | ^^^^^^^^^^
6
7 error: aborting due to previous error
8