error[E0277]: the trait bound `Test: juniper::types::marker::GraphQLObjectType` is not satisfied --> $DIR/impl_enum_field.rs:12:1 | 12 | #[juniper::graphql_union] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `juniper::types::marker::GraphQLObjectType` is not implemented for `Test` | = note: required by `juniper::types::marker::GraphQLObjectType::mark` = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)