You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/macro/ui-tests/start-function.stderr
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -10,46 +10,46 @@ error: the start function cannot have generics
10
10
10 | pub fn foo3<T>() {}
11
11
| ^^^
12
12
13
-
error[E0277]: the trait bound `std::result::Result<wasm_bindgen::JsValue, ()>: wasm_bindgen::__rt::Start` is not satisfied
13
+
error[E0277]: the trait bound `Result<wasm_bindgen::JsValue, ()>: wasm_bindgen::__rt::Start` is not satisfied
14
14
--> $DIR/start-function.rs:15:1
15
15
|
16
16
15 | #[wasm_bindgen(start)]
17
-
| ^^^^^^^^^^^^^^^^^^^^^^ the trait `wasm_bindgen::__rt::Start` is not implemented for `std::result::Result<wasm_bindgen::JsValue, ()>`
17
+
| ^^^^^^^^^^^^^^^^^^^^^^ the trait `wasm_bindgen::__rt::Start` is not implemented for `Result<wasm_bindgen::JsValue, ()>`
18
18
|
19
19
= help: the following implementations were found:
20
-
<std::result::Result<(), E> as wasm_bindgen::__rt::Start>
20
+
<Result<(), E> as wasm_bindgen::__rt::Start>
21
21
= note: required by `start`
22
22
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
23
23
24
-
error[E0277]: the trait bound `std::result::Result<wasm_bindgen::JsValue, wasm_bindgen::JsValue>: wasm_bindgen::__rt::Start` is not satisfied
24
+
error[E0277]: the trait bound `Result<wasm_bindgen::JsValue, wasm_bindgen::JsValue>: wasm_bindgen::__rt::Start` is not satisfied
25
25
--> $DIR/start-function.rs:18:1
26
26
|
27
27
18 | #[wasm_bindgen(start)]
28
-
| ^^^^^^^^^^^^^^^^^^^^^^ the trait `wasm_bindgen::__rt::Start` is not implemented for `std::result::Result<wasm_bindgen::JsValue, wasm_bindgen::JsValue>`
28
+
| ^^^^^^^^^^^^^^^^^^^^^^ the trait `wasm_bindgen::__rt::Start` is not implemented for `Result<wasm_bindgen::JsValue, wasm_bindgen::JsValue>`
29
29
|
30
30
= help: the following implementations were found:
31
-
<std::result::Result<(), E> as wasm_bindgen::__rt::Start>
31
+
<Result<(), E> as wasm_bindgen::__rt::Start>
32
32
= note: required by `start`
33
33
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
34
34
35
-
error[E0277]: the trait bound `std::result::Result<wasm_bindgen::JsValue, ()>: wasm_bindgen::__rt::Start` is not satisfied
35
+
error[E0277]: the trait bound `Result<wasm_bindgen::JsValue, ()>: wasm_bindgen::__rt::Start` is not satisfied
36
36
--> $DIR/start-function.rs:27:1
37
37
|
38
38
27 | #[wasm_bindgen(start)]
39
-
| ^^^^^^^^^^^^^^^^^^^^^^ the trait `wasm_bindgen::__rt::Start` is not implemented for `std::result::Result<wasm_bindgen::JsValue, ()>`
39
+
| ^^^^^^^^^^^^^^^^^^^^^^ the trait `wasm_bindgen::__rt::Start` is not implemented for `Result<wasm_bindgen::JsValue, ()>`
40
40
|
41
41
= help: the following implementations were found:
42
-
<std::result::Result<(), E> as wasm_bindgen::__rt::Start>
42
+
<Result<(), E> as wasm_bindgen::__rt::Start>
43
43
= note: required by `start`
44
44
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
45
45
46
-
error[E0277]: the trait bound `std::result::Result<wasm_bindgen::JsValue, wasm_bindgen::JsValue>: wasm_bindgen::__rt::Start` is not satisfied
46
+
error[E0277]: the trait bound `Result<wasm_bindgen::JsValue, wasm_bindgen::JsValue>: wasm_bindgen::__rt::Start` is not satisfied
47
47
--> $DIR/start-function.rs:30:1
48
48
|
49
49
30 | #[wasm_bindgen(start)]
50
-
| ^^^^^^^^^^^^^^^^^^^^^^ the trait `wasm_bindgen::__rt::Start` is not implemented for `std::result::Result<wasm_bindgen::JsValue, wasm_bindgen::JsValue>`
50
+
| ^^^^^^^^^^^^^^^^^^^^^^ the trait `wasm_bindgen::__rt::Start` is not implemented for `Result<wasm_bindgen::JsValue, wasm_bindgen::JsValue>`
51
51
|
52
52
= help: the following implementations were found:
53
-
<std::result::Result<(), E> as wasm_bindgen::__rt::Start>
53
+
<Result<(), E> as wasm_bindgen::__rt::Start>
54
54
= note: required by `start`
55
55
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
0 commit comments