File tree Expand file tree Collapse file tree
tests/codegen/fail/subscription Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- warning: unused variable: `obj`
2- --> fail/subscription/argument_non_input_type.rs:17:24
3- |
4- 17 | async fn id(&self, obj: ObjA) -> BoxStream<'static, &'static str> {
5- | ^^^ help: if this is intentional, prefix it with an underscore: `_obj`
6- |
7- = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
8-
91error[E0277]: the trait bound `ObjA: IsInputType<__S>` is not satisfied
102 --> fail/subscription/argument_non_input_type.rs:17:29
113 |
@@ -105,3 +97,11 @@ help: the trait `FromInputValue<__S>` is not implemented for `ObjA`
10597 `[T; N]` implements `FromInputValue<S>`
10698 `bool` implements `FromInputValue<__S>`
10799 and $N others
100+
101+ warning: unused variable: `obj`
102+ --> fail/subscription/argument_non_input_type.rs:17:24
103+ |
104+ 17 | async fn id(&self, obj: ObjA) -> BoxStream<'static, &'static str> {
105+ | ^^^ help: if this is intentional, prefix it with an underscore: `_obj`
106+ |
107+ = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
You can’t perform that action at this time.
0 commit comments