error[E0271]: type mismatch resolving `<ForeignBody as ContractBody>::Api == Api`
--> tests/trybuild/fail/wrong_api_version_handle.rs:23:21
|
23 | 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:20:10
|
20 | #[derive(phoxal::Runtime)]
| ^^^^^^^^^^^^^^^ required by this bound in `assert`
= note: this error originates in the derive macro `phoxal::Runtime` (in Nightly builds, run with -Z macro-backtrace for more info)