mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-15 17:50:51 +00:00
Update UI tests for latest stable
This commit is contained in:
parent
3725e7157d
commit
dd93d83db2
@ -2,9 +2,7 @@ error[E0277]: the trait bound `std::string::String: std::marker::Copy` is not sa
|
|||||||
--> $DIR/pub-not-copy.rs:5:16
|
--> $DIR/pub-not-copy.rs:5:16
|
||||||
|
|
|
|
||||||
3 | #[wasm_bindgen]
|
3 | #[wasm_bindgen]
|
||||||
| ---------------
|
| --------------- required by this bound in `__wbg_get_a_field::assert_copy`
|
||||||
| |
|
|
||||||
| required by this bound in `__wbg_get_a_field::assert_copy`
|
|
||||||
4 | pub struct A {
|
4 | pub struct A {
|
||||||
5 | pub field: String,
|
5 | pub field: String,
|
||||||
| ^^^^^^ the trait `std::marker::Copy` is not implemented for `std::string::String`
|
| ^^^^^^ the trait `std::marker::Copy` is not implemented for `std::string::String`
|
||||||
|
@ -10,6 +10,28 @@ error: the start function cannot have generics
|
|||||||
10 | pub fn foo3<T>() {}
|
10 | pub fn foo3<T>() {}
|
||||||
| ^^^
|
| ^^^
|
||||||
|
|
||||||
|
error[E0277]: the trait bound `std::result::Result<wasm_bindgen::JsValue, ()>: wasm_bindgen::__rt::Start` is not satisfied
|
||||||
|
--> $DIR/start-function.rs:15:1
|
||||||
|
|
|
||||||
|
15 | #[wasm_bindgen(start)]
|
||||||
|
| ^^^^^^^^^^^^^^^^^^^^^^ the trait `wasm_bindgen::__rt::Start` is not implemented for `std::result::Result<wasm_bindgen::JsValue, ()>`
|
||||||
|
|
|
||||||
|
= help: the following implementations were found:
|
||||||
|
<std::result::Result<(), E> as wasm_bindgen::__rt::Start>
|
||||||
|
= note: required by `wasm_bindgen::__rt::Start::start`
|
||||||
|
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||||
|
|
||||||
|
error[E0277]: the trait bound `std::result::Result<wasm_bindgen::JsValue, wasm_bindgen::JsValue>: wasm_bindgen::__rt::Start` is not satisfied
|
||||||
|
--> $DIR/start-function.rs:18:1
|
||||||
|
|
|
||||||
|
18 | #[wasm_bindgen(start)]
|
||||||
|
| ^^^^^^^^^^^^^^^^^^^^^^ the trait `wasm_bindgen::__rt::Start` is not implemented for `std::result::Result<wasm_bindgen::JsValue, wasm_bindgen::JsValue>`
|
||||||
|
|
|
||||||
|
= help: the following implementations were found:
|
||||||
|
<std::result::Result<(), E> as wasm_bindgen::__rt::Start>
|
||||||
|
= note: required by `wasm_bindgen::__rt::Start::start`
|
||||||
|
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||||
|
|
||||||
error[E0277]: the trait bound `std::result::Result<wasm_bindgen::JsValue, ()>: wasm_bindgen::__rt::Start` is not satisfied
|
error[E0277]: the trait bound `std::result::Result<wasm_bindgen::JsValue, ()>: wasm_bindgen::__rt::Start` is not satisfied
|
||||||
--> $DIR/start-function.rs:27:1
|
--> $DIR/start-function.rs:27:1
|
||||||
|
|
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user