mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-16 02:00:51 +00:00
Update UI expectations
This commit is contained in:
parent
d1f104567b
commit
8ba0142dd2
@ -48,3 +48,4 @@ error[E0277]: the trait bound `std::result::Result<BadType, wasm_bindgen::JsValu
|
||||
= note: required by `wasm_bindgen::__rt::IntoJsResult::into_js_result`
|
||||
|
||||
For more information about this error, try `rustc --explain E0277`.
|
||||
error: could not compile `wasm-bindgen-macro-tests`.
|
||||
|
@ -3,3 +3,5 @@ error: unknown attribute
|
||||
|
|
||||
3 | #[wasm_bindgen(nonsense)]
|
||||
| ^^^^^^^^
|
||||
|
||||
error: could not compile `wasm-bindgen-macro-tests`.
|
||||
|
@ -15,3 +15,5 @@ error: cannot return references in #[wasm_bindgen] imports yet
|
||||
|
|
||||
10 | fn foo() -> &u32;
|
||||
| ^^^^
|
||||
|
||||
error: could not compile `wasm-bindgen-macro-tests`.
|
||||
|
@ -9,3 +9,5 @@ error: relative module paths aren't supported yet
|
||||
|
|
||||
8 | #[wasm_bindgen(module = "../foo.js")]
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: could not compile `wasm-bindgen-macro-tests`.
|
||||
|
@ -15,3 +15,5 @@ error: malformed #[wasm_bindgen] attribute
|
||||
|
|
||||
11 | #[wasm_bindgen { }]
|
||||
| ^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: could not compile `wasm-bindgen-macro-tests`.
|
||||
|
@ -21,3 +21,5 @@ error: enums with #[wasm_bindgen] can only support numbers that can be represent
|
||||
|
|
||||
18 | X = 4294967296,
|
||||
| ^^^^^^^^^^
|
||||
|
||||
error: could not compile `wasm-bindgen-macro-tests`.
|
||||
|
@ -87,3 +87,5 @@ error: it is currently not sound to use lifetimes in function signatures
|
||||
|
|
||||
38 | fn f() -> Result<'a>;
|
||||
| ^^
|
||||
|
||||
error: could not compile `wasm-bindgen-macro-tests`.
|
||||
|
@ -63,3 +63,5 @@ error: #[wasm_bindgen] can only be applied to a function, struct, enum, impl, or
|
||||
|
|
||||
34 | trait X {}
|
||||
| ^^^^^^^^^^
|
||||
|
||||
error: could not compile `wasm-bindgen-macro-tests`.
|
||||
|
@ -65,3 +65,5 @@ warning: unused macro definition
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= note: `#[warn(unused_macros)]` on by default
|
||||
|
||||
error: could not compile `wasm-bindgen-macro-tests`.
|
||||
|
@ -3,3 +3,5 @@ error: setters must start with `set_`, found: a
|
||||
|
|
||||
9 | fn a(this: &A, b: i32);
|
||||
| ^
|
||||
|
||||
error: could not compile `wasm-bindgen-macro-tests`.
|
||||
|
@ -5,3 +5,4 @@ error[E0277]: the trait bound `std::result::Result<wasm_bindgen::JsValue, wasm_b
|
||||
| ^^^ the trait `wasm_bindgen::convert::traits::FromWasmAbi` is not implemented for `std::result::Result<wasm_bindgen::JsValue, wasm_bindgen::JsValue>`
|
||||
|
||||
For more information about this error, try `rustc --explain E0277`.
|
||||
error: could not compile `wasm-bindgen-macro-tests`.
|
||||
|
@ -3,3 +3,5 @@ error: can only #[wasm_bindgen] public functions
|
||||
|
|
||||
4 | fn foo() {}
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error: could not compile `wasm-bindgen-macro-tests`.
|
||||
|
@ -8,3 +8,4 @@ error[E0277]: the trait bound `std::string::String: std::marker::Copy` is not sa
|
||||
| ^^^^^^ the trait `std::marker::Copy` is not implemented for `std::string::String`
|
||||
|
||||
For more information about this error, try `rustc --explain E0277`.
|
||||
error: could not compile `wasm-bindgen-macro-tests`.
|
||||
|
@ -9,3 +9,5 @@ error: the start function cannot have generics
|
||||
|
|
||||
10 | pub fn foo3<T>() {}
|
||||
| ^^^
|
||||
|
||||
error: could not compile `wasm-bindgen-macro-tests`.
|
||||
|
@ -3,3 +3,5 @@ error: cannot specify both `structural` and `final`
|
||||
|
|
||||
7 | #[wasm_bindgen(method, structural, final)]
|
||||
| ^^^^^
|
||||
|
||||
error: could not compile `wasm-bindgen-macro-tests`.
|
||||
|
@ -5,3 +5,4 @@ error[E0277]: the trait bound `A: wasm_bindgen::convert::traits::IntoWasmAbi` is
|
||||
| ^^^ the trait `wasm_bindgen::convert::traits::IntoWasmAbi` is not implemented for `A`
|
||||
|
||||
For more information about this error, try `rustc --explain E0277`.
|
||||
error: could not compile `wasm-bindgen-macro-tests`.
|
||||
|
@ -5,3 +5,4 @@ error[E0412]: cannot find type `A` in this scope
|
||||
| ^ not found in this scope
|
||||
|
||||
For more information about this error, try `rustc --explain E0412`.
|
||||
error: could not compile `wasm-bindgen-macro-tests`.
|
||||
|
@ -9,3 +9,5 @@ error: unused #[wasm_bindgen] attribute
|
||||
|
|
||||
8 | #[wasm_bindgen(method)]
|
||||
| ^^^^^^
|
||||
|
||||
error: could not compile `wasm-bindgen-macro-tests`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user