blob: d08553b1b3711b766f1338fa1500162c7942af78 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
error[E0277]: the trait bound `Result<wasm_bindgen::JsValue, wasm_bindgen::JsValue>: FromWasmAbi` is not satisfied
--> ui-tests/missing-catch.rs:6:9
|
6 | pub fn foo() -> Result<JsValue, JsValue>;
| ^^^ the trait `FromWasmAbi` is not implemented for `Result<wasm_bindgen::JsValue, wasm_bindgen::JsValue>`
|
note: required by a bound in `FromWasmAbi`
--> $WORKSPACE/src/convert/traits.rs
|
| / pub trait FromWasmAbi: WasmDescribe {
| | /// The wasm ABI type that this converts from when coming back out from the
| | /// ABI boundary.
| | type Abi: WasmAbi;
... |
| | unsafe fn from_abi(js: Self::Abi) -> Self;
| | }
| |_^ required by this bound in `FromWasmAbi`
|