-
Notifications
You must be signed in to change notification settings - Fork 425
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix codegen tests for latest stable Rust
- Loading branch information
Showing
13 changed files
with
220 additions
and
182 deletions.
There are no files selected for viewing
79 changes: 40 additions & 39 deletions
79
tests/codegen/fail/input-object/derive_incompatible_field_type.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 15 additions & 15 deletions
30
tests/codegen/fail/interface/struct/attr_field_non_output_return_type.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
error[E0277]: the trait bound `ObjB: IsOutputType<__S>` is not satisfied | ||
--> fail/interface/struct/attr_field_non_output_return_type.rs:10:9 | ||
| | ||
10 | id: ObjB, | ||
| ^^^^ the trait `IsOutputType<__S>` is not implemented for `ObjB` | ||
| | ||
= help: the following other types implement trait `IsOutputType<S>`: | ||
<bool as IsOutputType<__S>> | ||
<i32 as IsOutputType<__S>> | ||
<f64 as IsOutputType<__S>> | ||
<CharacterValueEnum as IsOutputType<__S>> | ||
<Box<T> as IsOutputType<S>> | ||
<uuid::Uuid as IsOutputType<__S>> | ||
<url::Url as IsOutputType<__S>> | ||
<bson::datetime::DateTime as IsOutputType<__S>> | ||
and $N others | ||
--> fail/interface/struct/attr_field_non_output_return_type.rs:8:1 | ||
| | ||
8 | #[graphql_interface] | ||
| ^^^^^^^^^^^^^^^^^^^^ the trait `IsOutputType<__S>` is not implemented for `ObjB` | ||
| | ||
= help: the following other types implement trait `IsOutputType<S>`: | ||
<bool as IsOutputType<__S>> | ||
<i32 as IsOutputType<__S>> | ||
<f64 as IsOutputType<__S>> | ||
<CharacterValueEnum as IsOutputType<__S>> | ||
<Box<T> as IsOutputType<S>> | ||
<uuid::Uuid as IsOutputType<__S>> | ||
<url::Url as IsOutputType<__S>> | ||
<bson::datetime::DateTime as IsOutputType<__S>> | ||
and $N others |
30 changes: 15 additions & 15 deletions
30
tests/codegen/fail/interface/struct/derive_field_non_output_return_type.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
error[E0277]: the trait bound `ObjB: IsOutputType<__S>` is not satisfied | ||
--> fail/interface/struct/derive_field_non_output_return_type.rs:10:9 | ||
| | ||
10 | id: ObjB, | ||
| ^^^^ the trait `IsOutputType<__S>` is not implemented for `ObjB` | ||
| | ||
= help: the following other types implement trait `IsOutputType<S>`: | ||
<bool as IsOutputType<__S>> | ||
<i32 as IsOutputType<__S>> | ||
<f64 as IsOutputType<__S>> | ||
<CharacterValueEnum as IsOutputType<__S>> | ||
<Box<T> as IsOutputType<S>> | ||
<uuid::Uuid as IsOutputType<__S>> | ||
<url::Url as IsOutputType<__S>> | ||
<bson::datetime::DateTime as IsOutputType<__S>> | ||
and $N others | ||
--> fail/interface/struct/derive_field_non_output_return_type.rs:8:10 | ||
| | ||
8 | #[derive(GraphQLInterface)] | ||
| ^^^^^^^^^^^^^^^^ the trait `IsOutputType<__S>` is not implemented for `ObjB` | ||
| | ||
= help: the following other types implement trait `IsOutputType<S>`: | ||
<bool as IsOutputType<__S>> | ||
<i32 as IsOutputType<__S>> | ||
<f64 as IsOutputType<__S>> | ||
<CharacterValueEnum as IsOutputType<__S>> | ||
<Box<T> as IsOutputType<S>> | ||
<uuid::Uuid as IsOutputType<__S>> | ||
<url::Url as IsOutputType<__S>> | ||
<bson::datetime::DateTime as IsOutputType<__S>> | ||
and $N others |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 15 additions & 15 deletions
30
tests/codegen/fail/interface/trait/field_non_output_return_type.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
error[E0277]: the trait bound `ObjB: IsOutputType<__S>` is not satisfied | ||
--> fail/interface/trait/field_non_output_return_type.rs:10:21 | ||
| | ||
10 | fn id(&self) -> ObjB; | ||
| ^^^^ the trait `IsOutputType<__S>` is not implemented for `ObjB` | ||
| | ||
= help: the following other types implement trait `IsOutputType<S>`: | ||
<bool as IsOutputType<__S>> | ||
<i32 as IsOutputType<__S>> | ||
<f64 as IsOutputType<__S>> | ||
<CharacterValueEnum as IsOutputType<__S>> | ||
<Box<T> as IsOutputType<S>> | ||
<uuid::Uuid as IsOutputType<__S>> | ||
<url::Url as IsOutputType<__S>> | ||
<bson::datetime::DateTime as IsOutputType<__S>> | ||
and $N others | ||
--> fail/interface/trait/field_non_output_return_type.rs:8:1 | ||
| | ||
8 | #[graphql_interface] | ||
| ^^^^^^^^^^^^^^^^^^^^ the trait `IsOutputType<__S>` is not implemented for `ObjB` | ||
| | ||
= help: the following other types implement trait `IsOutputType<S>`: | ||
<bool as IsOutputType<__S>> | ||
<i32 as IsOutputType<__S>> | ||
<f64 as IsOutputType<__S>> | ||
<CharacterValueEnum as IsOutputType<__S>> | ||
<Box<T> as IsOutputType<S>> | ||
<uuid::Uuid as IsOutputType<__S>> | ||
<url::Url as IsOutputType<__S>> | ||
<bson::datetime::DateTime as IsOutputType<__S>> | ||
and $N others |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
tests/codegen/fail/object/attr_field_non_output_return_type.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 15 additions & 15 deletions
30
tests/codegen/fail/object/derive_field_non_output_return_type.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
error[E0277]: the trait bound `ObjB: IsOutputType<__S>` is not satisfied | ||
--> fail/object/derive_field_non_output_return_type.rs:10:9 | ||
| | ||
10 | id: ObjB, | ||
| ^^^^ the trait `IsOutputType<__S>` is not implemented for `ObjB` | ||
| | ||
= help: the following other types implement trait `IsOutputType<S>`: | ||
<bool as IsOutputType<__S>> | ||
<i32 as IsOutputType<__S>> | ||
<f64 as IsOutputType<__S>> | ||
<ObjA as IsOutputType<__S>> | ||
<Box<T> as IsOutputType<S>> | ||
<uuid::Uuid as IsOutputType<__S>> | ||
<url::Url as IsOutputType<__S>> | ||
<bson::datetime::DateTime as IsOutputType<__S>> | ||
and $N others | ||
--> fail/object/derive_field_non_output_return_type.rs:8:10 | ||
| | ||
8 | #[derive(GraphQLObject)] | ||
| ^^^^^^^^^^^^^ the trait `IsOutputType<__S>` is not implemented for `ObjB` | ||
| | ||
= help: the following other types implement trait `IsOutputType<S>`: | ||
<bool as IsOutputType<__S>> | ||
<i32 as IsOutputType<__S>> | ||
<f64 as IsOutputType<__S>> | ||
<ObjA as IsOutputType<__S>> | ||
<Box<T> as IsOutputType<S>> | ||
<uuid::Uuid as IsOutputType<__S>> | ||
<url::Url as IsOutputType<__S>> | ||
<bson::datetime::DateTime as IsOutputType<__S>> | ||
and $N others |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
tests/codegen/fail/subscription/field_non_output_return_type.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.