Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ help: the trait `IsInputType<__S>` is not implemented for `ObjectA`
4 | struct ObjectA {
| ^^^^^^^^^^^^^^
= help: the following other types implement trait `IsInputType<S>`:
`&T` implements `IsInputType<S>`
`Arc<T>` implements `IsInputType<S>`
`ArcStr` implements `IsInputType<__S>`
`Box<T>` implements `IsInputType<S>`
`ID` implements `IsInputType<__S>`
`Nullable<T>` implements `IsInputType<S>`
`Object` implements `IsInputType<__S>`
`Vec<T>` implements `IsInputType<S>`
ArcStr
ID
Object
bool
compact_str::CompactString
f64
i32
juniper::TypeKind
and $N others
= note: required for `std::option::Option<ObjectA>` to implement `IsInputType<__S>`
= note: this error originates in the derive macro `GraphQLInputObject` (in Nightly builds, run with -Z macro-backtrace for more info)
Expand All @@ -34,14 +34,14 @@ help: the trait `FromInputValue<__S>` is not implemented for `ObjectA`
4 | struct ObjectA {
| ^^^^^^^^^^^^^^
= help: the following other types implement trait `FromInputValue<S>`:
`Arc<T>` implements `FromInputValue<S>`
`ArcStr` implements `FromInputValue<__S>`
`Box<T>` implements `FromInputValue<S>`
`ID` implements `FromInputValue<__S>`
`Nullable<T>` implements `FromInputValue<S>`
`Object` implements `FromInputValue<__S>`
`Vec<T>` implements `FromInputValue<S>`
`[T; N]` implements `FromInputValue<S>`
ArcStr
ID
Object
bool
compact_str::CompactString
f64
i32
juniper::TypeKind
and $N others
= note: required for `std::option::Option<ObjectA>` to implement `FromInputValue<__S>`
note: required by a bound in `Registry::<S>::arg`
Expand All @@ -66,14 +66,14 @@ help: the trait `FromInputValue<__S>` is not implemented for `ObjectA`
4 | struct ObjectA {
| ^^^^^^^^^^^^^^
= help: the following other types implement trait `FromInputValue<S>`:
`Arc<T>` implements `FromInputValue<S>`
`ArcStr` implements `FromInputValue<__S>`
`Box<T>` implements `FromInputValue<S>`
`ID` implements `FromInputValue<__S>`
`Nullable<T>` implements `FromInputValue<S>`
`Object` implements `FromInputValue<__S>`
`Vec<T>` implements `FromInputValue<S>`
`[T; N]` implements `FromInputValue<S>`
ArcStr
ID
Object
bool
compact_str::CompactString
f64
i32
juniper::TypeKind
and $N others
= note: this error originates in the derive macro `GraphQLInputObject` (in Nightly builds, run with -Z macro-backtrace for more info)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ help: the trait `IsInputType<__S>` is not implemented for `ObjectA`
4 | struct ObjectA {
| ^^^^^^^^^^^^^^
= help: the following other types implement trait `IsInputType<S>`:
`&T` implements `IsInputType<S>`
`Arc<T>` implements `IsInputType<S>`
`ArcStr` implements `IsInputType<__S>`
`Box<T>` implements `IsInputType<S>`
`ID` implements `IsInputType<__S>`
`Nullable<T>` implements `IsInputType<S>`
`Object` implements `IsInputType<__S>`
`Vec<T>` implements `IsInputType<S>`
ArcStr
ID
Object
bool
compact_str::CompactString
f64
i32
juniper::TypeKind
and $N others

error[E0277]: the trait bound `ObjectA: FromInputValue<__S>` is not satisfied
Expand All @@ -35,14 +35,14 @@ help: the trait `FromInputValue<__S>` is not implemented for `ObjectA`
4 | struct ObjectA {
| ^^^^^^^^^^^^^^
= help: the following other types implement trait `FromInputValue<S>`:
`Arc<T>` implements `FromInputValue<S>`
`ArcStr` implements `FromInputValue<__S>`
`Box<T>` implements `FromInputValue<S>`
`ID` implements `FromInputValue<__S>`
`Nullable<T>` implements `FromInputValue<S>`
`Object` implements `FromInputValue<__S>`
`Vec<T>` implements `FromInputValue<S>`
`[T; N]` implements `FromInputValue<S>`
ArcStr
ID
Object
bool
compact_str::CompactString
f64
i32
juniper::TypeKind
and $N others
note: required by a bound in `Registry::<S>::arg`
--> $WORKSPACE/juniper/src/executor/mod.rs
Expand All @@ -65,14 +65,14 @@ help: the trait `FromInputValue<__S>` is not implemented for `ObjectA`
4 | struct ObjectA {
| ^^^^^^^^^^^^^^
= help: the following other types implement trait `FromInputValue<S>`:
`Arc<T>` implements `FromInputValue<S>`
`ArcStr` implements `FromInputValue<__S>`
`Box<T>` implements `FromInputValue<S>`
`ID` implements `FromInputValue<__S>`
`Nullable<T>` implements `FromInputValue<S>`
`Object` implements `FromInputValue<__S>`
`Vec<T>` implements `FromInputValue<S>`
`[T; N]` implements `FromInputValue<S>`
ArcStr
ID
Object
bool
compact_str::CompactString
f64
i32
juniper::TypeKind
and $N others
= note: this error originates in the derive macro `GraphQLInputObject` (in Nightly builds, run with -Z macro-backtrace for more info)

Expand Down
72 changes: 0 additions & 72 deletions tests/codegen/fail/interface/struct/attr_cyclic_impl.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -20,75 +20,3 @@ note: cycle used when computing type of `<impl at $DIR/fail/interface/struct/att
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information
= note: this error originates in the attribute macro `graphql_interface` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0658]: use of unstable library feature `str_as_str`
--> fail/interface/struct/attr_cyclic_impl.rs:5:5
|
5 | id: String,
| ^^
|
= note: see issue #130366 <https://github.com/rust-lang/rust/issues/130366> for more information
= note: this error 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)

error[E0658]: use of unstable library feature `str_as_str`
--> fail/interface/struct/attr_cyclic_impl.rs:5:5
|
5 | id: String,
| ^^
|
= note: see issue #130366 <https://github.com/rust-lang/rust/issues/130366> for more information
= note: this error 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)

error[E0658]: use of unstable library feature `str_as_str`
--> fail/interface/struct/attr_cyclic_impl.rs:5:5
|
5 | id: String,
| ^^
|
= note: see issue #130366 <https://github.com/rust-lang/rust/issues/130366> for more information
= note: this error 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)

error[E0658]: use of unstable library feature `str_as_str`
--> fail/interface/struct/attr_cyclic_impl.rs:5:5
|
5 | id: String,
| ^^
|
= note: see issue #130366 <https://github.com/rust-lang/rust/issues/130366> for more information
= note: this error 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)

error[E0658]: use of unstable library feature `str_as_str`
--> fail/interface/struct/attr_cyclic_impl.rs:10:5
|
10 | id: String,
| ^^
|
= note: see issue #130366 <https://github.com/rust-lang/rust/issues/130366> for more information
= note: this error 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)

error[E0658]: use of unstable library feature `str_as_str`
--> fail/interface/struct/attr_cyclic_impl.rs:10:5
|
10 | id: String,
| ^^
|
= note: see issue #130366 <https://github.com/rust-lang/rust/issues/130366> for more information
= note: this error 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)

error[E0658]: use of unstable library feature `str_as_str`
--> fail/interface/struct/attr_cyclic_impl.rs:10:5
|
10 | id: String,
| ^^
|
= note: see issue #130366 <https://github.com/rust-lang/rust/issues/130366> for more information
= note: this error 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)

error[E0658]: use of unstable library feature `str_as_str`
--> fail/interface/struct/attr_cyclic_impl.rs:10:5
|
10 | id: String,
| ^^
|
= note: see issue #130366 <https://github.com/rust-lang/rust/issues/130366> for more information
= note: this error 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)
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ help: the trait `IsOutputType<__S>` is not implemented for `ObjB`
4 | pub struct ObjB {
| ^^^^^^^^^^^^^^^
= help: the following other types implement trait `IsOutputType<S>`:
`&T` implements `IsOutputType<S>`
`Arc<T>` implements `IsOutputType<S>`
`ArcStr` implements `IsOutputType<__S>`
`Argument<S>` implements `IsOutputType<S>`
`Box<T>` implements `IsOutputType<S>`
`CharacterValueEnum` implements `IsOutputType<__S>`
`EnumValue` implements `IsOutputType<__S>`
`ID` implements `IsOutputType<__S>`
ArcStr
CharacterValueEnum
EnumValue
ID
bool
compact_str::CompactString
f64
i32
and $N others
72 changes: 0 additions & 72 deletions tests/codegen/fail/interface/struct/derive_cyclic_impl.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -20,75 +20,3 @@ note: cycle used when computing type of `<impl at $DIR/fail/interface/struct/der
| ^^^^^^^^^^^^^^^^
= note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information
= note: this error originates in the derive macro `GraphQLInterface` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0658]: use of unstable library feature `str_as_str`
--> fail/interface/struct/derive_cyclic_impl.rs:6:5
|
6 | id: String,
| ^^
|
= note: see issue #130366 <https://github.com/rust-lang/rust/issues/130366> for more information
= note: this error 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)

error[E0658]: use of unstable library feature `str_as_str`
--> fail/interface/struct/derive_cyclic_impl.rs:6:5
|
6 | id: String,
| ^^
|
= note: see issue #130366 <https://github.com/rust-lang/rust/issues/130366> for more information
= note: this error 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)

error[E0658]: use of unstable library feature `str_as_str`
--> fail/interface/struct/derive_cyclic_impl.rs:6:5
|
6 | id: String,
| ^^
|
= note: see issue #130366 <https://github.com/rust-lang/rust/issues/130366> for more information
= note: this error 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)

error[E0658]: use of unstable library feature `str_as_str`
--> fail/interface/struct/derive_cyclic_impl.rs:6:5
|
6 | id: String,
| ^^
|
= note: see issue #130366 <https://github.com/rust-lang/rust/issues/130366> for more information
= note: this error 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)

error[E0658]: use of unstable library feature `str_as_str`
--> fail/interface/struct/derive_cyclic_impl.rs:12:5
|
12 | id: String,
| ^^
|
= note: see issue #130366 <https://github.com/rust-lang/rust/issues/130366> for more information
= note: this error 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)

error[E0658]: use of unstable library feature `str_as_str`
--> fail/interface/struct/derive_cyclic_impl.rs:12:5
|
12 | id: String,
| ^^
|
= note: see issue #130366 <https://github.com/rust-lang/rust/issues/130366> for more information
= note: this error 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)

error[E0658]: use of unstable library feature `str_as_str`
--> fail/interface/struct/derive_cyclic_impl.rs:12:5
|
12 | id: String,
| ^^
|
= note: see issue #130366 <https://github.com/rust-lang/rust/issues/130366> for more information
= note: this error 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)

error[E0658]: use of unstable library feature `str_as_str`
--> fail/interface/struct/derive_cyclic_impl.rs:12:5
|
12 | id: String,
| ^^
|
= note: see issue #130366 <https://github.com/rust-lang/rust/issues/130366> for more information
= note: this error 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)
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ help: the trait `IsOutputType<__S>` is not implemented for `ObjB`
4 | pub struct ObjB {
| ^^^^^^^^^^^^^^^
= help: the following other types implement trait `IsOutputType<S>`:
`&T` implements `IsOutputType<S>`
`Arc<T>` implements `IsOutputType<S>`
`ArcStr` implements `IsOutputType<__S>`
`Argument<S>` implements `IsOutputType<S>`
`Box<T>` implements `IsOutputType<S>`
`CharacterValueEnum` implements `IsOutputType<__S>`
`EnumValue` implements `IsOutputType<__S>`
`ID` implements `IsOutputType<__S>`
ArcStr
CharacterValueEnum
EnumValue
ID
bool
compact_str::CompactString
f64
i32
and $N others
36 changes: 18 additions & 18 deletions tests/codegen/fail/interface/trait/argument_non_input_type.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ help: the trait `IsInputType<__S>` is not implemented for `ObjA`
4 | pub struct ObjA {
| ^^^^^^^^^^^^^^^
= help: the following other types implement trait `IsInputType<S>`:
`&T` implements `IsInputType<S>`
`Arc<T>` implements `IsInputType<S>`
`ArcStr` implements `IsInputType<__S>`
`Box<T>` implements `IsInputType<S>`
`ID` implements `IsInputType<__S>`
`Nullable<T>` implements `IsInputType<S>`
`Vec<T>` implements `IsInputType<S>`
`[T; N]` implements `IsInputType<S>`
and $N others
ArcStr
ID
bool
compact_str::CompactString
f64
i32
juniper::TypeKind
juniper::schema::model::DirectiveLocation
std::string::String

error[E0277]: the trait bound `ObjA: FromInputValue<__S>` is not satisfied
--> fail/interface/trait/argument_non_input_type.rs:10:23
Expand All @@ -35,15 +35,15 @@ help: the trait `FromInputValue<__S>` is not implemented for `ObjA`
4 | pub struct ObjA {
| ^^^^^^^^^^^^^^^
= help: the following other types implement trait `FromInputValue<S>`:
`Arc<T>` implements `FromInputValue<S>`
`ArcStr` implements `FromInputValue<__S>`
`Box<T>` implements `FromInputValue<S>`
`ID` implements `FromInputValue<__S>`
`Nullable<T>` implements `FromInputValue<S>`
`Vec<T>` implements `FromInputValue<S>`
`[T; N]` implements `FromInputValue<S>`
`bool` implements `FromInputValue<__S>`
and $N others
ArcStr
ID
bool
compact_str::CompactString
f64
i32
juniper::TypeKind
juniper::schema::model::DirectiveLocation
std::string::String
note: required by a bound in `Registry::<S>::arg`
--> $WORKSPACE/juniper/src/executor/mod.rs
|
Expand Down
Loading
Loading