1
1
error[E0277]: the trait bound `std::result::Result<(), ()>: wasm_bindgen::__rt::IntoJsResult` is not satisfied
2
- --> $DIR/async-errors.rs:29 :1
2
+ --> $DIR/async-errors.rs:30 :1
3
3
|
4
- 29 | #[wasm_bindgen]
4
+ 30 | #[wasm_bindgen]
5
5
| ^^^^^^^^^^^^^^^ the trait `wasm_bindgen::__rt::IntoJsResult` is not implemented for `std::result::Result<(), ()>`
6
6
|
7
7
= help: the following implementations were found:
@@ -10,9 +10,9 @@ error[E0277]: the trait bound `std::result::Result<(), ()>: wasm_bindgen::__rt::
10
10
= note: required by `wasm_bindgen::__rt::IntoJsResult::into_js_result`
11
11
12
12
error[E0277]: the trait bound `std::result::Result<(), BadType>: wasm_bindgen::__rt::IntoJsResult` is not satisfied
13
- --> $DIR/async-errors.rs:31 :1
13
+ --> $DIR/async-errors.rs:32 :1
14
14
|
15
- 31 | #[wasm_bindgen]
15
+ 32 | #[wasm_bindgen]
16
16
| ^^^^^^^^^^^^^^^ the trait `wasm_bindgen::__rt::IntoJsResult` is not implemented for `std::result::Result<(), BadType>`
17
17
|
18
18
= help: the following implementations were found:
@@ -21,9 +21,9 @@ error[E0277]: the trait bound `std::result::Result<(), BadType>: wasm_bindgen::_
21
21
= note: required by `wasm_bindgen::__rt::IntoJsResult::into_js_result`
22
22
23
23
error[E0277]: the trait bound `wasm_bindgen::JsValue: std::convert::From<BadType>` is not satisfied
24
- --> $DIR/async-errors.rs:33 :1
24
+ --> $DIR/async-errors.rs:34 :1
25
25
|
26
- 33 | #[wasm_bindgen]
26
+ 34 | #[wasm_bindgen]
27
27
| ^^^^^^^^^^^^^^^ the trait `std::convert::From<BadType>` is not implemented for `wasm_bindgen::JsValue`
28
28
|
29
29
= help: the following implementations were found:
@@ -37,9 +37,9 @@ error[E0277]: the trait bound `wasm_bindgen::JsValue: std::convert::From<BadType
37
37
= note: required by `wasm_bindgen::__rt::IntoJsResult::into_js_result`
38
38
39
39
error[E0277]: the trait bound `std::result::Result<BadType, wasm_bindgen::JsValue>: wasm_bindgen::__rt::IntoJsResult` is not satisfied
40
- --> $DIR/async-errors.rs:35 :1
40
+ --> $DIR/async-errors.rs:36 :1
41
41
|
42
- 35 | #[wasm_bindgen]
42
+ 36 | #[wasm_bindgen]
43
43
| ^^^^^^^^^^^^^^^ the trait `wasm_bindgen::__rt::IntoJsResult` is not implemented for `std::result::Result<BadType, wasm_bindgen::JsValue>`
44
44
|
45
45
= help: the following implementations were found:
0 commit comments