juniper/tests/codegen/fail/union/attr_wrong_item.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

7 lines
297 B
Text

error: #[graphql_union] attribute is applicable to trait definitions only
--> fail/union/attr_wrong_item.rs:3:1
|
3 | #[graphql_union]
| ^^^^^^^^^^^^^^^^
|
= note: this error originates in the attribute macro `graphql_union` (in Nightly builds, run with -Z macro-backtrace for more info)