juniper/tests/codegen/fail/union/trait_no_fields.stderr
dependabot[bot] 782eccba47
Upgrade syn crate to 2.0 version (#1157)
- 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>
2023-11-01 19:00:05 +01:00

6 lines
196 B
Text

error: GraphQL union expects at least one union variant
· note: https://spec.graphql.org/October2021#sec-Unions
--> fail/union/trait_no_fields.rs:4:1
|
4 | trait Character {}
| ^^^^^