Update UI expectations

This commit is contained in:
Alex Crichton 2019-09-20 11:50:39 -07:00
parent d1f104567b
commit 8ba0142dd2
18 changed files with 31 additions and 0 deletions

View File

@ -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` = note: required by `wasm_bindgen::__rt::IntoJsResult::into_js_result`
For more information about this error, try `rustc --explain E0277`. For more information about this error, try `rustc --explain E0277`.
error: could not compile `wasm-bindgen-macro-tests`.

View File

@ -3,3 +3,5 @@ error: unknown attribute
| |
3 | #[wasm_bindgen(nonsense)] 3 | #[wasm_bindgen(nonsense)]
| ^^^^^^^^ | ^^^^^^^^
error: could not compile `wasm-bindgen-macro-tests`.

View File

@ -15,3 +15,5 @@ error: cannot return references in #[wasm_bindgen] imports yet
| |
10 | fn foo() -> &u32; 10 | fn foo() -> &u32;
| ^^^^ | ^^^^
error: could not compile `wasm-bindgen-macro-tests`.

View File

@ -9,3 +9,5 @@ error: relative module paths aren't supported yet
| |
8 | #[wasm_bindgen(module = "../foo.js")] 8 | #[wasm_bindgen(module = "../foo.js")]
| ^^^^^^^^^^^ | ^^^^^^^^^^^
error: could not compile `wasm-bindgen-macro-tests`.

View File

@ -15,3 +15,5 @@ error: malformed #[wasm_bindgen] attribute
| |
11 | #[wasm_bindgen { }] 11 | #[wasm_bindgen { }]
| ^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^
error: could not compile `wasm-bindgen-macro-tests`.

View File

@ -21,3 +21,5 @@ error: enums with #[wasm_bindgen] can only support numbers that can be represent
| |
18 | X = 4294967296, 18 | X = 4294967296,
| ^^^^^^^^^^ | ^^^^^^^^^^
error: could not compile `wasm-bindgen-macro-tests`.

View File

@ -87,3 +87,5 @@ error: it is currently not sound to use lifetimes in function signatures
| |
38 | fn f() -> Result<'a>; 38 | fn f() -> Result<'a>;
| ^^ | ^^
error: could not compile `wasm-bindgen-macro-tests`.

View File

@ -63,3 +63,5 @@ error: #[wasm_bindgen] can only be applied to a function, struct, enum, impl, or
| |
34 | trait X {} 34 | trait X {}
| ^^^^^^^^^^ | ^^^^^^^^^^
error: could not compile `wasm-bindgen-macro-tests`.

View File

@ -65,3 +65,5 @@ warning: unused macro definition
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
= note: `#[warn(unused_macros)]` on by default = note: `#[warn(unused_macros)]` on by default
error: could not compile `wasm-bindgen-macro-tests`.

View File

@ -3,3 +3,5 @@ error: setters must start with `set_`, found: a
| |
9 | fn a(this: &A, b: i32); 9 | fn a(this: &A, b: i32);
| ^ | ^
error: could not compile `wasm-bindgen-macro-tests`.

View File

@ -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>` | ^^^ 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`. For more information about this error, try `rustc --explain E0277`.
error: could not compile `wasm-bindgen-macro-tests`.

View File

@ -3,3 +3,5 @@ error: can only #[wasm_bindgen] public functions
| |
4 | fn foo() {} 4 | fn foo() {}
| ^^^^^^^^^^^ | ^^^^^^^^^^^
error: could not compile `wasm-bindgen-macro-tests`.

View File

@ -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` | ^^^^^^ the trait `std::marker::Copy` is not implemented for `std::string::String`
For more information about this error, try `rustc --explain E0277`. For more information about this error, try `rustc --explain E0277`.
error: could not compile `wasm-bindgen-macro-tests`.

View File

@ -9,3 +9,5 @@ error: the start function cannot have generics
| |
10 | pub fn foo3<T>() {} 10 | pub fn foo3<T>() {}
| ^^^ | ^^^
error: could not compile `wasm-bindgen-macro-tests`.

View File

@ -3,3 +3,5 @@ error: cannot specify both `structural` and `final`
| |
7 | #[wasm_bindgen(method, structural, final)] 7 | #[wasm_bindgen(method, structural, final)]
| ^^^^^ | ^^^^^
error: could not compile `wasm-bindgen-macro-tests`.

View File

@ -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` | ^^^ the trait `wasm_bindgen::convert::traits::IntoWasmAbi` is not implemented for `A`
For more information about this error, try `rustc --explain E0277`. For more information about this error, try `rustc --explain E0277`.
error: could not compile `wasm-bindgen-macro-tests`.

View File

@ -5,3 +5,4 @@ error[E0412]: cannot find type `A` in this scope
| ^ not found in this scope | ^ not found in this scope
For more information about this error, try `rustc --explain E0412`. For more information about this error, try `rustc --explain E0412`.
error: could not compile `wasm-bindgen-macro-tests`.

View File

@ -9,3 +9,5 @@ error: unused #[wasm_bindgen] attribute
| |
8 | #[wasm_bindgen(method)] 8 | #[wasm_bindgen(method)]
| ^^^^^^ | ^^^^^^
error: could not compile `wasm-bindgen-macro-tests`.