Fix codegen tests for latest nightly Rust
This commit is contained in:
parent
3810666646
commit
9ae0c89537
5 changed files with 386 additions and 40 deletions
|
@ -134,6 +134,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
|
@ -166,6 +174,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
|
@ -206,6 +222,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
|
@ -238,6 +262,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
|
@ -294,6 +326,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_subtype` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
|
@ -358,6 +398,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_subtype` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
|
@ -518,6 +566,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
|
@ -550,6 +606,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
|
@ -590,6 +654,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
|
@ -622,6 +694,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
|
@ -678,6 +758,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_subtype` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
|
@ -742,6 +830,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
11 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_subtype` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/attr_missing_field.rs:11:5
|
||||
|
|
||||
|
|
|
@ -134,6 +134,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
|
@ -166,6 +174,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
|
@ -206,6 +222,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
|
@ -238,6 +262,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
|
@ -294,6 +326,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_subtype` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
|
@ -358,6 +398,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_subtype` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
|
@ -518,6 +566,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
|
@ -550,6 +606,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
|
@ -590,6 +654,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
|
@ -622,6 +694,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
|
@ -678,6 +758,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_subtype` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
|
@ -742,6 +830,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
12 | id: String,
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_subtype` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/struct/derive_missing_field.rs:12:5
|
||||
|
|
||||
|
|
|
@ -134,6 +134,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
|
@ -166,6 +174,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
|
@ -206,6 +222,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
|
@ -238,6 +262,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
|
@ -294,6 +326,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_subtype` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
|
@ -358,6 +398,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_subtype` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
|
@ -518,6 +566,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
|
@ -550,6 +606,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
|
@ -590,6 +654,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
|
@ -622,6 +694,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_field_args` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
|
@ -678,6 +758,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::format_type` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_subtype` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
|
@ -742,6 +830,14 @@ note: erroneous constant used
|
|||
|
|
||||
= note: this note originates in the macro `$crate::const_concat` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
11 | fn id(&self) -> &str;
|
||||
| ^^
|
||||
|
|
||||
= note: this note originates in the macro `$crate::assert_subtype` which comes from the expansion of the macro `::juniper::assert_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
note: erroneous constant used
|
||||
--> fail/interface/trait/missing_field.rs:11:8
|
||||
|
|
||||
|
|
|
@ -13,7 +13,7 @@ error[E0277]: the trait bound `ObjA: IsInputType<__S>` is not satisfied
|
|||
<Vec<T> as IsInputType<S>>
|
||||
<[T; N] as IsInputType<S>>
|
||||
<[T] as IsInputType<S>>
|
||||
and 12 others
|
||||
and $N others
|
||||
|
||||
error[E0277]: the trait bound `ObjA: FromInputValue<__S>` is not satisfied
|
||||
--> fail/object/argument_non_input_type.rs:10:1
|
||||
|
@ -30,7 +30,7 @@ error[E0277]: the trait bound `ObjA: FromInputValue<__S>` is not satisfied
|
|||
<[T; N] as FromInputValue<S>>
|
||||
<bool as FromInputValue<__S>>
|
||||
<bson::datetime::DateTime as FromInputValue<__S>>
|
||||
and 9 others
|
||||
and $N others
|
||||
note: required by a bound in `Registry::<'r, S>::arg`
|
||||
--> $WORKSPACE/juniper/src/executor/mod.rs
|
||||
|
|
||||
|
@ -53,5 +53,23 @@ error[E0277]: the trait bound `ObjA: FromInputValue<__S>` is not satisfied
|
|||
<[T; N] as FromInputValue<S>>
|
||||
<bool as FromInputValue<__S>>
|
||||
<bson::datetime::DateTime as FromInputValue<__S>>
|
||||
and 9 others
|
||||
and $N others
|
||||
= note: this error originates in the attribute macro `graphql_object` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0277]: the trait bound `ObjA: FromInputValue<__S>` is not satisfied
|
||||
--> fail/object/argument_non_input_type.rs:10:1
|
||||
|
|
||||
10 | #[graphql_object]
|
||||
| ^^^^^^^^^^^^^^^^^ the trait `FromInputValue<__S>` is not implemented for `ObjA`
|
||||
|
|
||||
= help: the following other types implement trait `FromInputValue<S>`:
|
||||
<Arc<T> as FromInputValue<S>>
|
||||
<Box<T> as FromInputValue<S>>
|
||||
<ID as FromInputValue<__S>>
|
||||
<TypeKind as FromInputValue<__S>>
|
||||
<Vec<T> as FromInputValue<S>>
|
||||
<[T; N] as FromInputValue<S>>
|
||||
<bool as FromInputValue<__S>>
|
||||
<bson::datetime::DateTime as FromInputValue<__S>>
|
||||
and $N others
|
||||
= note: this error originates in the attribute macro `graphql_object` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
|
|
@ -26,3 +26,43 @@ note: associated function defined here
|
|||
| fn into_resolvable(self, ctx: &'a C) -> FieldResult<Option<(&'a T::Context, T)>, S>;
|
||||
| ^^^^^^^^^^^^^^^
|
||||
= note: this error originates in the attribute macro `graphql_union` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0277]: the trait bound `CustomContext: FromContext<SubContext>` is not satisfied
|
||||
--> fail/union/trait_fail_infer_context.rs:3:1
|
||||
|
|
||||
3 | #[graphql_union]
|
||||
| ^^^^^^^^^^^^^^^^ the trait `FromContext<SubContext>` is not implemented for `CustomContext`
|
||||
|
|
||||
= help: the following other types implement trait `FromContext<T>`:
|
||||
<() as FromContext<T>>
|
||||
<SubContext as FromContext<CustomContext>>
|
||||
= note: this error originates in the attribute macro `graphql_union` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0308]: mismatched types
|
||||
--> fail/union/trait_fail_infer_context.rs:3:1
|
||||
|
|
||||
3 | #[graphql_union]
|
||||
| ^^^^^^^^^^^^^^^^
|
||||
| |
|
||||
| expected struct `CustomContext`, found struct `SubContext`
|
||||
| arguments to this function are incorrect
|
||||
|
|
||||
= note: expected reference `&CustomContext`
|
||||
found reference `&SubContext`
|
||||
note: associated function defined here
|
||||
--> $WORKSPACE/juniper/src/executor/mod.rs
|
||||
|
|
||||
| fn into_resolvable(self, ctx: &'a C) -> FieldResult<Option<(&'a T::Context, T)>, S>;
|
||||
| ^^^^^^^^^^^^^^^
|
||||
= note: this error originates in the attribute macro `graphql_union` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0277]: the trait bound `CustomContext: FromContext<SubContext>` is not satisfied
|
||||
--> fail/union/trait_fail_infer_context.rs:3:1
|
||||
|
|
||||
3 | #[graphql_union]
|
||||
| ^^^^^^^^^^^^^^^^ the trait `FromContext<SubContext>` is not implemented for `CustomContext`
|
||||
|
|
||||
= help: the following other types implement trait `FromContext<T>`:
|
||||
<() as FromContext<T>>
|
||||
<SubContext as FromContext<CustomContext>>
|
||||
= note: this error originates in the attribute macro `graphql_union` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
|
Loading…
Reference in a new issue