error[E0271]: type mismatch resolving `<ForeignBody as ContractBody>::Api == Api`
--> tests/trybuild/fail/wrong_api_version_handle.rs:24:21
|
24 | body: Publisher<ForeignBody>,
| ^^^^^^^^^^^ type mismatch resolving `<ForeignBody as ContractBody>::Api == Api`
|
note: expected this to be `Api`
--> tests/trybuild/fail/wrong_api_version_handle.rs:15:16
|
15 | type Api = ForeignApi;
| ^^^^^^^^^^
note: required by a bound in `assert`
--> tests/trybuild/fail/wrong_api_version_handle.rs:21:10
|
21 | #[derive(phoxal::Service)]
| ^^^^^^^^^^^^^^^ required by this bound in `assert`
= note: this error originates in the derive macro `phoxal::Service` (in Nightly builds, run with -Z macro-backtrace for more info)