Skip to content

Commit

Permalink
Fix codegen failure tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranron committed May 9, 2024
1 parent 2682ee1 commit 02e931b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/codegen/fail/union/struct_same_type_ugly.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ 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
--> fail/union/struct_same_type_ugly.rs:4:14
|
5 | #[graphql(on std::string::String = Character::b)]
| ^^^^^^^^^^^^^^^^^^^ the trait `GraphQLObject<__S>` is not implemented for `std::string::String`
4 | #[graphql(on String = Character::a)]
| ^^^^^^ 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>>
Expand All @@ -27,10 +27,10 @@ error[E0277]: the trait bound `std::string::String: GraphQLObject<__S>` is not 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
--> fail/union/struct_same_type_ugly.rs:5:14
|
4 | #[graphql(on String = Character::a)]
| ^^^^^^ the trait `GraphQLObject<__S>` is not implemented for `std::string::String`
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>>
Expand Down

0 comments on commit 02e931b

Please sign in to comment.