Fix codegen failure tests
This commit is contained in:
parent
2682ee1418
commit
02e931b516
1 changed files with 17 additions and 17 deletions
|
@ -9,23 +9,6 @@ error[E0119]: conflicting implementations of trait `MutuallyExclusive` for type
|
|||
|
|
||||
= note: this error originates in the macro `::juniper::sa::assert_type_ne_all` which comes from the expansion of the derive macro `GraphQLUnion` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0277]: the trait bound `std::string::String: GraphQLObject<__S>` is not satisfied
|
||||
--> fail/union/struct_same_type_ugly.rs:5:14
|
||||
|
|
||||
5 | #[graphql(on std::string::String = Character::b)]
|
||||
| ^^^^^^^^^^^^^^^^^^^ the trait `GraphQLObject<__S>` is not implemented for `std::string::String`
|
||||
|
|
||||
= help: the following other types implement trait `GraphQLObject<S>`:
|
||||
<Box<T> as GraphQLObject<S>>
|
||||
<juniper::meta::Field<'a, S> as GraphQLObject<S>>
|
||||
<Argument<'a, S> as GraphQLObject<S>>
|
||||
<EnumValue as GraphQLObject<__S>>
|
||||
<SchemaType<'a, S> as GraphQLObject<S>>
|
||||
<juniper::schema::model::TypeType<'a, S> as GraphQLObject<S>>
|
||||
<juniper::schema::model::DirectiveType<'a, S> as GraphQLObject<S>>
|
||||
<Arc<T> as GraphQLObject<S>>
|
||||
<&T as GraphQLObject<S>>
|
||||
|
||||
error[E0277]: the trait bound `std::string::String: GraphQLObject<__S>` is not satisfied
|
||||
--> fail/union/struct_same_type_ugly.rs:4:14
|
||||
|
|
||||
|
@ -42,3 +25,20 @@ error[E0277]: the trait bound `std::string::String: GraphQLObject<__S>` is not s
|
|||
<juniper::schema::model::DirectiveType<'a, S> as GraphQLObject<S>>
|
||||
<Arc<T> as GraphQLObject<S>>
|
||||
<&T as GraphQLObject<S>>
|
||||
|
||||
error[E0277]: the trait bound `std::string::String: GraphQLObject<__S>` is not satisfied
|
||||
--> fail/union/struct_same_type_ugly.rs:5:14
|
||||
|
|
||||
5 | #[graphql(on std::string::String = Character::b)]
|
||||
| ^^^^^^^^^^^^^^^^^^^ the trait `GraphQLObject<__S>` is not implemented for `std::string::String`
|
||||
|
|
||||
= help: the following other types implement trait `GraphQLObject<S>`:
|
||||
<Box<T> as GraphQLObject<S>>
|
||||
<juniper::meta::Field<'a, S> as GraphQLObject<S>>
|
||||
<Argument<'a, S> as GraphQLObject<S>>
|
||||
<EnumValue as GraphQLObject<__S>>
|
||||
<SchemaType<'a, S> as GraphQLObject<S>>
|
||||
<juniper::schema::model::TypeType<'a, S> as GraphQLObject<S>>
|
||||
<juniper::schema::model::DirectiveType<'a, S> as GraphQLObject<S>>
|
||||
<Arc<T> as GraphQLObject<S>>
|
||||
<&T as GraphQLObject<S>>
|
||||
|
|
Loading…
Reference in a new issue