]> git.lizzy.rs Git - rust.git/blob - tests/ui/union/union-empty.stderr
Rollup merge of #107780 - compiler-errors:instantiate-binder, r=lcnr
[rust.git] / tests / 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