16 lines
553 B
Text
16 lines
553 B
Text
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>`
|
|
|
|
|
= help: the following other types implement trait `FromWasmAbi`:
|
|
bool
|
|
char
|
|
isize
|
|
i8
|
|
i16
|
|
i32
|
|
i64
|
|
usize
|
|
and $N others
|