error: error parsing #[wasm_bindgen] attribute options: failed to parse anything
 --> $DIR/invalid-attr.rs:7:16
  |
7 | #[wasm_bindgen(x)]
  |                ^

error: error parsing #[wasm_bindgen] attribute options: failed to parse anything
  --> $DIR/invalid-attr.rs:12:20
   |
12 |     #[wasm_bindgen(y)]
   |                    ^

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 {  }]
   |     ^^^^^^^^^^^^^^^^^^^^

error: aborting due to 5 previous errors