@@ -11,8 +11,8 @@ error[E0277]: the trait bound `ObjA: IsInputType<__S>` is not satisfied
11
11
<Box<T> as IsInputType<S>>
12
12
<juniper::schema::model::DirectiveLocation as IsInputType<__S>>
13
13
<Arc<T> as IsInputType<S>>
14
- <Vec<T> as IsInputType<S>>
15
14
<TypeKind as IsInputType<__S>>
15
+ <Vec<T> as IsInputType<S>>
16
16
and $N others
17
17
18
18
error[E0277]: the trait bound `ObjA: FromInputValue<__S>` is not satisfied
@@ -31,8 +31,8 @@ error[E0277]: the trait bound `ObjA: FromInputValue<__S>` is not satisfied
31
31
<Box<T> as FromInputValue<S>>
32
32
<juniper::schema::model::DirectiveLocation as FromInputValue<__S>>
33
33
<Arc<T> as FromInputValue<S>>
34
- <Vec<T> as FromInputValue<S>>
35
34
<TypeKind as FromInputValue<__S>>
35
+ <Vec<T> as FromInputValue<S>>
36
36
and $N others
37
37
note: required by a bound in `Registry::<'r, S>::arg`
38
38
--> $WORKSPACE/juniper/src/executor/mod.rs
@@ -56,8 +56,8 @@ error[E0277]: the trait bound `ObjA: FromInputValue<__S>` is not satisfied
56
56
<Box<T> as FromInputValue<S>>
57
57
<juniper::schema::model::DirectiveLocation as FromInputValue<__S>>
58
58
<Arc<T> as FromInputValue<S>>
59
- <Vec<T> as FromInputValue<S>>
60
59
<TypeKind as FromInputValue<__S>>
60
+ <Vec<T> as FromInputValue<S>>
61
61
and $N others
62
62
= note: this error originates in the attribute macro `graphql_object` (in Nightly builds, run with -Z macro-backtrace for more info)
63
63
@@ -74,6 +74,14 @@ error[E0277]: the trait bound `ObjA: FromInputValue<__S>` is not satisfied
74
74
<Box<T> as FromInputValue<S>>
75
75
<juniper::schema::model::DirectiveLocation as FromInputValue<__S>>
76
76
<Arc<T> as FromInputValue<S>>
77
- <Vec<T> as FromInputValue<S>>
78
77
<TypeKind as FromInputValue<__S>>
78
+ <Vec<T> as FromInputValue<S>>
79
79
and $N others
80
+
81
+ warning: unused variable: `obj`
82
+ --> fail/object/argument_non_input_type.rs:12:18
83
+ |
84
+ 12 | fn id(&self, obj: ObjA) -> &str {
85
+ | ^^^ help: if this is intentional, prefix it with an underscore: `_obj`
86
+ |
87
+ = note: `#[warn(unused_variables)]` on by default
0 commit comments