Skip to content

Commit e7bfa16

Browse files
committed
Fix UI tests for updated beta
1 parent 2a12ca2 commit e7bfa16

19 files changed

+1
-40
lines changed

crates/macro/ui-tests/async-errors.stderr

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,3 @@ error[E0277]: the trait bound `std::result::Result<BadType, wasm_bindgen::JsValu
4646
<std::result::Result<(), E> as wasm_bindgen::__rt::IntoJsResult>
4747
<std::result::Result<T, E> as wasm_bindgen::__rt::IntoJsResult>
4848
= note: required by `wasm_bindgen::__rt::IntoJsResult::into_js_result`
49-
50-
For more information about this error, try `rustc --explain E0277`.

crates/macro/ui-tests/attribute-fails-to-parse.stderr

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,3 @@ error: unknown attribute
33
|
44
3 | #[wasm_bindgen(nonsense)]
55
| ^^^^^^^^
6-
7-
error: could not compile `wasm-bindgen-macro-tests`.

crates/macro/ui-tests/bad-signatures.stderr

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,3 @@ error: cannot return references in #[wasm_bindgen] imports yet
1515
|
1616
10 | fn foo() -> &u32;
1717
| ^^^^
18-
19-
error: could not compile `wasm-bindgen-macro-tests`.

crates/macro/ui-tests/import-local.stderr

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,3 @@ error: relative module paths aren't supported yet
99
|
1010
8 | #[wasm_bindgen(module = "../foo.js")]
1111
| ^^^^^^^^^^^
12-
13-
error: could not compile `wasm-bindgen-macro-tests`.

crates/macro/ui-tests/invalid-attr.stderr

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,3 @@ error: malformed #[wasm_bindgen] attribute
1515
|
1616
11 | #[wasm_bindgen { }]
1717
| ^^^^^^^^^^^^^^^^^^^^
18-
19-
error: could not compile `wasm-bindgen-macro-tests`.

crates/macro/ui-tests/invalid-enums.stderr

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,3 @@ error: enums with #[wasm_bindgen] can only support numbers that can be represent
2121
|
2222
18 | X = 4294967296,
2323
| ^^^^^^^^^^
24-
25-
error: could not compile `wasm-bindgen-macro-tests`.

crates/macro/ui-tests/invalid-imports.stderr

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,5 +87,3 @@ error: it is currently not sound to use lifetimes in function signatures
8787
|
8888
38 | fn f() -> Result<'a>;
8989
| ^^
90-
91-
error: could not compile `wasm-bindgen-macro-tests`.

crates/macro/ui-tests/invalid-items.stderr

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,3 @@ error: #[wasm_bindgen] can only be applied to a function, struct, enum, impl, or
6363
|
6464
34 | trait X {}
6565
| ^^^^^^^^^^
66-
67-
error: could not compile `wasm-bindgen-macro-tests`.

crates/macro/ui-tests/invalid-methods.stderr

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,3 @@ warning: unused macro definition
6565
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
6666
|
6767
= note: `#[warn(unused_macros)]` on by default
68-
69-
error: could not compile `wasm-bindgen-macro-tests`.

crates/macro/ui-tests/invalid-setter.stderr

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,3 @@ error: setters must start with `set_`, found: a
33
|
44
9 | fn a(this: &A, b: i32);
55
| ^
6-
7-
error: could not compile `wasm-bindgen-macro-tests`.

0 commit comments

Comments
 (0)