error[E0277]: the trait bound `Result<(), ()>: IntoJsResult` is not satisfied --> ui-tests/async-errors.rs:31:24 | 31 | pub async fn bad1() -> Result<(), ()> { loop {} } | ^^^^^^^^^^^^^^ the trait `IntoJsResult` is not implemented for `Result<(), ()>` | = help: the following other types implement trait `IntoJsResult`: Result<(), E> Result error[E0277]: the trait bound `Result<(), BadType>: IntoJsResult` is not satisfied --> ui-tests/async-errors.rs:33:24 | 33 | pub async fn bad2() -> Result<(), BadType> { loop {} } | ^^^^^^^^^^^^^^^^^^^ the trait `IntoJsResult` is not implemented for `Result<(), BadType>` | = help: the following other types implement trait `IntoJsResult`: Result<(), E> Result error[E0277]: the trait bound `wasm_bindgen::JsValue: From` is not satisfied --> ui-tests/async-errors.rs:35:24 | 35 | pub async fn bad3() -> BadType { loop {} } | ^^^^^^^ the trait `From` is not implemented for `wasm_bindgen::JsValue` | = help: the following other types implement trait `From`: > > > > > > > > and $N others = note: required for `BadType` to implement `Into` = note: required for `BadType` to implement `IntoJsResult` error[E0277]: the trait bound `Result: IntoJsResult` is not satisfied --> ui-tests/async-errors.rs:37:24 | 37 | pub async fn bad4() -> Result { loop {} } | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `IntoJsResult` is not implemented for `Result` | = help: the following other types implement trait `IntoJsResult`: Result<(), E> Result