8 lines
196 B
Text
8 lines
196 B
Text
|
error: GraphQL union expects at least one union variant
|
||
|
--> $DIR/enum_no_fields.rs:4:1
|
||
|
|
|
||
|
4 | enum Character {}
|
||
|
| ^^^^^^^^^^^^^^^^^
|
||
|
|
|
||
|
= note: https://spec.graphql.org/June2018/#sec-Unions
|