Skip to content

Commit 5295402

Browse files
committed
Dat flaky bi... test
1 parent 18b6ada commit 5295402

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/codegen/fail/union/struct_same_type_ugly.stderr

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ error[E0119]: conflicting implementations of trait `MutuallyExclusive` for type
1010
= 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)
1111

1212
error[E0277]: the trait bound `std::string::String: GraphQLObject<__S>` is not satisfied
13-
--> fail/union/struct_same_type_ugly.rs:4:14
13+
--> fail/union/struct_same_type_ugly.rs:5:14
1414
|
15-
4 | #[graphql(on String = Character::a)]
16-
| ^^^^^^ the trait `GraphQLObject<__S>` is not implemented for `std::string::String`
15+
5 | #[graphql(on std::string::String = Character::b)]
16+
| ^^^^^^^^^^^^^^^^^^^ the trait `GraphQLObject<__S>` is not implemented for `std::string::String`
1717
|
1818
= help: the following other types implement trait `GraphQLObject<S>`:
1919
`&T` implements `GraphQLObject<S>`
@@ -27,10 +27,10 @@ error[E0277]: the trait bound `std::string::String: GraphQLObject<__S>` is not s
2727
`juniper::schema::model::TypeType<'a, S>` implements `GraphQLObject<S>`
2828

2929
error[E0277]: the trait bound `std::string::String: GraphQLObject<__S>` is not satisfied
30-
--> fail/union/struct_same_type_ugly.rs:5:14
30+
--> fail/union/struct_same_type_ugly.rs:4:14
3131
|
32-
5 | #[graphql(on std::string::String = Character::b)]
33-
| ^^^^^^^^^^^^^^^^^^^ the trait `GraphQLObject<__S>` is not implemented for `std::string::String`
32+
4 | #[graphql(on String = Character::a)]
33+
| ^^^^^^ the trait `GraphQLObject<__S>` is not implemented for `std::string::String`
3434
|
3535
= help: the following other types implement trait `GraphQLObject<S>`:
3636
`&T` implements `GraphQLObject<S>`

0 commit comments

Comments
 (0)