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