summaryrefslogtreecommitdiffstats
path: root/tests/ui/union/union-empty.stderr
blob: a80b27e6eb563b4f0eb3d555f7c37d6f18e80573 (plain)
1
2
3
4
5
6
7
8
error: unions cannot have zero fields
  --> $DIR/union-empty.rs:1:1
   |
LL | union U {}
   | ^^^^^^^^^^

error: aborting due to previous error