juniper/integration_tests/codegen_fail/fail/enum/derive_no_fields.stderr

7 lines
186 B
Text

error: GraphQL enum expects at least one field
--> $DIR/derive_no_fields.rs:2:1
|
2 | pub enum Test {}
| ^^^^^^^^^^^^^^^^
|
= note: https://spec.graphql.org/June2018/#sec-Enums