Catch up codegen failure tests with latest nightly Rust

This commit is contained in:
tyranron 2021-04-29 14:06:32 +03:00
parent 9dfd57198d
commit 106e322f68
No known key found for this signature in database
GPG key ID: 762E144FB230A4F0
5 changed files with 9 additions and 9 deletions

View file

@ -1,4 +1,4 @@
error[E0119]: conflicting implementations of trait `<CharacterValue as juniper::GraphQLInterface<__S>>::mark::_::{closure#0}::MutuallyExclusive` for type `ObjA`:
error[E0119]: conflicting implementations of trait `<CharacterValue as juniper::GraphQLInterface<__S>>::mark::_::{closure#0}::MutuallyExclusive` for type `ObjA`
--> $DIR/implementers_duplicate_ugly.rs:18:1
|
18 | #[graphql_interface(for = [ObjA, ObjAlias])]
@ -9,7 +9,7 @@ error[E0119]: conflicting implementations of trait `<CharacterValue as juniper::
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0119]: conflicting implementations of trait `std::convert::From<ObjA>` for type `CharacterValue`:
error[E0119]: conflicting implementations of trait `std::convert::From<ObjA>` for type `CharacterValue`
--> $DIR/implementers_duplicate_ugly.rs:18:1
|
18 | #[graphql_interface(for = [ObjA, ObjAlias])]

View file

@ -1,4 +1,4 @@
error[E0119]: conflicting implementations of trait `<Character as juniper::GraphQLUnion<__S>>::mark::_::{closure#0}::MutuallyExclusive` for type `std::string::String`:
error[E0119]: conflicting implementations of trait `<Character as juniper::GraphQLUnion<__S>>::mark::_::{closure#0}::MutuallyExclusive` for type `std::string::String`
--> $DIR/enum_same_type_ugly.rs:3:10
|
3 | #[derive(GraphQLUnion)]

View file

@ -1,4 +1,4 @@
error[E0119]: conflicting implementations of trait `<Character as juniper::GraphQLUnion<__S>>::mark::_::{closure#0}::MutuallyExclusive` for type `std::string::String`:
error[E0119]: conflicting implementations of trait `<Character as juniper::GraphQLUnion<__S>>::mark::_::{closure#0}::MutuallyExclusive` for type `std::string::String`
--> $DIR/struct_same_type_ugly.rs:3:10
|
3 | #[derive(GraphQLUnion)]

View file

@ -1,4 +1,4 @@
error[E0119]: conflicting implementations of trait `<(dyn Character + std::marker::Send + std::marker::Sync + '__obj) as juniper::GraphQLUnion<__S>>::mark::_::{closure#0}::MutuallyExclusive` for type `std::string::String`:
error[E0119]: conflicting implementations of trait `<(dyn Character + std::marker::Send + std::marker::Sync + '__obj) as juniper::GraphQLUnion<__S>>::mark::_::{closure#0}::MutuallyExclusive` for type `std::string::String`
--> $DIR/trait_same_type_ugly.rs:3:1
|
3 | #[graphql_union]

View file

@ -579,7 +579,7 @@ mod test {
fn blah() -> bool {
true
}
};
}
let schema = RootNode::new(
Query,
EmptyMutation::<()>::new(),
@ -616,11 +616,11 @@ mod test {
#[derive(GraphQLObject, Default)]
struct Cake {
fresh: bool,
};
}
#[derive(GraphQLObject, Default)]
struct IceCream {
cold: bool,
};
}
#[derive(GraphQLUnion)]
enum GlutenFree {
Cake(Cake),
@ -671,7 +671,7 @@ mod test {
fn really_old() -> f64 {
42.0
}
};
}
let schema = RootNode::new(
Query,