juniper/tests/codegen/fail/union/enum_non_object_variant.stderr
Kai Ren 72ed45a77c
Rework CI and project toolchain (#1043)
- remove `cargo-make` integration
- rework CI pipeline more granular and precise
- rework releasing process
- tune up project layout
- fill up new CHANGELOGs

Additionally:
- fix latest nightly/stable Rust inconsistencies
2022-04-08 17:44:50 +03:00

17 lines
944 B
Text

error[E0277]: the trait bound `Test: GraphQLObject<__S>` is not satisfied
--> fail/union/enum_non_object_variant.rs:9:10
|
9 | #[derive(GraphQLUnion)]
| ^^^^^^^^^^^^ the trait `GraphQLObject<__S>` is not implemented for `Test`
|
= help: the following other types implement trait `GraphQLObject<S>`:
<&T as GraphQLObject<S>>
<Arc<T> as GraphQLObject<S>>
<Box<T> as GraphQLObject<S>>
<EnumValue as GraphQLObject<__S>>
<SchemaType<'a, S> as GraphQLObject<S>>
<juniper::meta::Argument<'a, S> as GraphQLObject<S>>
<juniper::meta::Field<'a, S> as GraphQLObject<S>>
<juniper::schema::model::DirectiveType<'a, S> as GraphQLObject<S>>
<juniper::schema::model::TypeType<'a, S> as GraphQLObject<S>>
= note: this error originates in the derive macro `GraphQLUnion` (in Nightly builds, run with -Z macro-backtrace for more info)