diff options
Diffstat (limited to 'tests/ui/union/union-empty.stderr')
| -rw-r--r-- | tests/ui/union/union-empty.stderr | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/union/union-empty.stderr b/tests/ui/union/union-empty.stderr new file mode 100644 index 00000000000..a80b27e6eb5 --- /dev/null +++ b/tests/ui/union/union-empty.stderr @@ -0,0 +1,8 @@ +error: unions cannot have zero fields + --> $DIR/union-empty.rs:1:1 + | +LL | union U {} + | ^^^^^^^^^^ + +error: aborting due to previous error + |
