2020-09-10 09:15:51 -05:00
|
|
|
error[E0277]: the trait bound `CustomContext: FromContext<SubContext>` is not satisfied
|
2021-12-20 06:50:49 -06:00
|
|
|
--> fail/union/trait_fail_infer_context.rs:3:1
|
|
|
|
|
|
|
|
|
3 | #[graphql_union]
|
|
|
|
| ^^^^^^^^^^^^^^^^ the trait `FromContext<SubContext>` is not implemented for `CustomContext`
|
|
|
|
|
|
2022-04-08 09:44:50 -05:00
|
|
|
= help: the following other types implement trait `FromContext<T>`:
|
|
|
|
<() as FromContext<T>>
|
|
|
|
<SubContext as FromContext<CustomContext>>
|
2021-12-20 06:50:49 -06:00
|
|
|
= note: this error originates in the attribute macro `graphql_union` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-06-04 03:19:01 -05:00
|
|
|
|
|
|
|
error[E0308]: mismatched types
|
2021-12-14 11:30:27 -06:00
|
|
|
--> fail/union/trait_fail_infer_context.rs:3:1
|
2020-06-04 03:19:01 -05:00
|
|
|
|
|
|
|
|
3 | #[graphql_union]
|
|
|
|
| ^^^^^^^^^^^^^^^^ expected struct `CustomContext`, found struct `SubContext`
|
|
|
|
|
|
|
|
|
= note: expected reference `&CustomContext`
|
|
|
|
found reference `&SubContext`
|
2021-06-06 17:57:14 -05:00
|
|
|
= note: this error originates in the attribute macro `graphql_union` (in Nightly builds, run with -Z macro-backtrace for more info)
|