mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-11-28 14:27:36 +03:00
Fix tests on nightly
This commit is contained in:
parent
25b6f5d982
commit
37068cb47f
@ -12,12 +12,6 @@ extern "C" {
|
||||
#[wasm_bindgen(y)]
|
||||
fn bar();
|
||||
|
||||
#[wasm_bindgen z]
|
||||
fn bar();
|
||||
|
||||
#[wasm_bindgen(z2) x]
|
||||
fn bar();
|
||||
|
||||
#[wasm_bindgen { }]
|
||||
fn bar();
|
||||
}
|
||||
|
@ -13,20 +13,8 @@ error: error parsing #[wasm_bindgen] attribute options: failed to parse anything
|
||||
error: malformed #[wasm_bindgen] attribute
|
||||
--> $DIR/invalid-attr.rs:15:5
|
||||
|
|
||||
15 | #[wasm_bindgen z]
|
||||
| ^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: malformed #[wasm_bindgen] attribute
|
||||
--> $DIR/invalid-attr.rs:18:5
|
||||
|
|
||||
18 | #[wasm_bindgen(z2) x]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: malformed #[wasm_bindgen] attribute
|
||||
--> $DIR/invalid-attr.rs:21:5
|
||||
|
|
||||
21 | #[wasm_bindgen { }]
|
||||
15 | #[wasm_bindgen { }]
|
||||
| ^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: aborting due to 5 previous errors
|
||||
error: aborting due to 3 previous errors
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user