782eccba47
- replace `proc-macro-error` crate with simplified `common::diagnostic::pollyfill` - migrate `juniper_codegen_tests` to stable Rust Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kai Ren <tyranron@gmail.com>
6 lines
289 B
Text
6 lines
289 B
Text
error: GraphQL union expects trait method to accept `&self` only and, optionally, `&Context`
|
|
· note: https://spec.graphql.org/October2021#sec-Unions
|
|
--> fail/union/trait_wrong_method_input_args.rs:5:10
|
|
|
|
|
5 | fn a(&self, ctx: &(), rand: u8) -> Option<&Human>;
|
|
| ^
|