summaryrefslogtreecommitdiffstats
path: root/vendor/wasm-bindgen-macro/ui-tests/start-function.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/wasm-bindgen-macro/ui-tests/start-function.stderr')
-rw-r--r--vendor/wasm-bindgen-macro/ui-tests/start-function.stderr80
1 files changed, 28 insertions, 52 deletions
diff --git a/vendor/wasm-bindgen-macro/ui-tests/start-function.stderr b/vendor/wasm-bindgen-macro/ui-tests/start-function.stderr
index aac6fccf0..9cd119761 100644
--- a/vendor/wasm-bindgen-macro/ui-tests/start-function.stderr
+++ b/vendor/wasm-bindgen-macro/ui-tests/start-function.stderr
@@ -11,61 +11,37 @@ error: the start function cannot have generics
| ^^^
error[E0277]: the trait bound `Result<wasm_bindgen::JsValue, ()>: wasm_bindgen::__rt::Start` is not satisfied
- --> ui-tests/start-function.rs:15:1
- |
-15 | #[wasm_bindgen(start)]
- | ^^^^^^^^^^^^^^^^^^^^^^ the trait `wasm_bindgen::__rt::Start` is not implemented for `Result<wasm_bindgen::JsValue, ()>`
- |
- = help: the following implementations were found:
- <Result<(), E> as wasm_bindgen::__rt::Start>
-note: required by `start`
- --> $WORKSPACE/src/lib.rs
- |
- | fn start(self);
- | ^^^^^^^^^^^^^^^
- = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
+ --> ui-tests/start-function.rs:15:1
+ |
+15 | #[wasm_bindgen(start)]
+ | ^^^^^^^^^^^^^^^^^^^^^^ the trait `wasm_bindgen::__rt::Start` is not implemented for `Result<wasm_bindgen::JsValue, ()>`
+ |
+ = help: the trait `wasm_bindgen::__rt::Start` is implemented for `Result<(), E>`
+ = 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<wasm_bindgen::JsValue, wasm_bindgen::JsValue>: wasm_bindgen::__rt::Start` is not satisfied
- --> ui-tests/start-function.rs:18:1
- |
-18 | #[wasm_bindgen(start)]
- | ^^^^^^^^^^^^^^^^^^^^^^ the trait `wasm_bindgen::__rt::Start` is not implemented for `Result<wasm_bindgen::JsValue, wasm_bindgen::JsValue>`
- |
- = help: the following implementations were found:
- <Result<(), E> as wasm_bindgen::__rt::Start>
-note: required by `start`
- --> $WORKSPACE/src/lib.rs
- |
- | fn start(self);
- | ^^^^^^^^^^^^^^^
- = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
+ --> ui-tests/start-function.rs:18:1
+ |
+18 | #[wasm_bindgen(start)]
+ | ^^^^^^^^^^^^^^^^^^^^^^ the trait `wasm_bindgen::__rt::Start` is not implemented for `Result<wasm_bindgen::JsValue, wasm_bindgen::JsValue>`
+ |
+ = help: the trait `wasm_bindgen::__rt::Start` is implemented for `Result<(), E>`
+ = 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<wasm_bindgen::JsValue, ()>: wasm_bindgen::__rt::Start` is not satisfied
- --> ui-tests/start-function.rs:27:1
- |
-27 | #[wasm_bindgen(start)]
- | ^^^^^^^^^^^^^^^^^^^^^^ the trait `wasm_bindgen::__rt::Start` is not implemented for `Result<wasm_bindgen::JsValue, ()>`
- |
- = help: the following implementations were found:
- <Result<(), E> as wasm_bindgen::__rt::Start>
-note: required by `start`
- --> $WORKSPACE/src/lib.rs
- |
- | fn start(self);
- | ^^^^^^^^^^^^^^^
- = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
+ --> ui-tests/start-function.rs:27:1
+ |
+27 | #[wasm_bindgen(start)]
+ | ^^^^^^^^^^^^^^^^^^^^^^ the trait `wasm_bindgen::__rt::Start` is not implemented for `Result<wasm_bindgen::JsValue, ()>`
+ |
+ = help: the trait `wasm_bindgen::__rt::Start` is implemented for `Result<(), E>`
+ = 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<wasm_bindgen::JsValue, wasm_bindgen::JsValue>: wasm_bindgen::__rt::Start` is not satisfied
- --> ui-tests/start-function.rs:30:1
- |
-30 | #[wasm_bindgen(start)]
- | ^^^^^^^^^^^^^^^^^^^^^^ the trait `wasm_bindgen::__rt::Start` is not implemented for `Result<wasm_bindgen::JsValue, wasm_bindgen::JsValue>`
- |
- = help: the following implementations were found:
- <Result<(), E> as wasm_bindgen::__rt::Start>
-note: required by `start`
- --> $WORKSPACE/src/lib.rs
- |
- | fn start(self);
- | ^^^^^^^^^^^^^^^
- = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
+ --> ui-tests/start-function.rs:30:1
+ |
+30 | #[wasm_bindgen(start)]
+ | ^^^^^^^^^^^^^^^^^^^^^^ the trait `wasm_bindgen::__rt::Start` is not implemented for `Result<wasm_bindgen::JsValue, wasm_bindgen::JsValue>`
+ |
+ = help: the trait `wasm_bindgen::__rt::Start` is implemented for `Result<(), E>`
+ = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)