782eccba47
- replace `proc-macro-error` crate with simplified `common::diagnostic::pollyfill` - migrate `juniper_codegen_tests` to stable Rust Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kai Ren <tyranron@gmail.com>
13 lines
501 B
Text
13 lines
501 B
Text
error: GraphQL union enum allows only unnamed variants with a single field, e.g. `Some(T)`
|
|
· note: https://spec.graphql.org/October2021#sec-Unions
|
|
--> fail/union/enum_wrong_variant_field.rs:5:5
|
|
|
|
|
5 | A { human: Human },
|
|
| ^
|
|
|
|
error: GraphQL union enum allows only unnamed variants with a single field, e.g. `Some(T)`
|
|
· note: https://spec.graphql.org/October2021#sec-Unions
|
|
--> fail/union/enum_wrong_variant_field.rs:10:6
|
|
|
|
|
10 | A(Human, u8),
|
|
| ^^^^^^^^^^^
|