error[E0277]: the trait bound `Result<(), ()>: IntoJsResult` is not satisfied --> ui-tests/async-errors.rs:30:1 | 30 | #[wasm_bindgen] | ^^^^^^^^^^^^^^^ the trait `IntoJsResult` is not implemented for `Result<(), ()>` | = help: the following implementations were found: as IntoJsResult> as IntoJsResult> note: required by `into_js_result` --> $WORKSPACE/src/lib.rs | | fn into_js_result(self) -> Result; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Result<(), BadType>: IntoJsResult` is not satisfied --> ui-tests/async-errors.rs:32:1 | 32 | #[wasm_bindgen] | ^^^^^^^^^^^^^^^ the trait `IntoJsResult` is not implemented for `Result<(), BadType>` | = help: the following implementations were found: as IntoJsResult> as IntoJsResult> note: required by `into_js_result` --> $WORKSPACE/src/lib.rs | | fn into_js_result(self) -> Result; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `wasm_bindgen::JsValue: From` is not satisfied --> ui-tests/async-errors.rs:34:1 | 34 | #[wasm_bindgen] | ^^^^^^^^^^^^^^^ the trait `From` is not implemented for `wasm_bindgen::JsValue` | = help: the following implementations were found: > > > > and $N others = note: required because of the requirements on the impl of `Into` for `BadType` = note: required because of the requirements on the impl of `IntoJsResult` for `BadType` note: required by `into_js_result` --> $WORKSPACE/src/lib.rs | | fn into_js_result(self) -> Result; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Result: IntoJsResult` is not satisfied --> ui-tests/async-errors.rs:36:1 | 36 | #[wasm_bindgen] | ^^^^^^^^^^^^^^^ the trait `IntoJsResult` is not implemented for `Result` | = help: the following implementations were found: as IntoJsResult> as IntoJsResult> note: required by `into_js_result` --> $WORKSPACE/src/lib.rs | | fn into_js_result(self) -> Result; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)