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

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

error: malformed #[wasm_bindgen] attribute
  --> $DIR/invalid-attr.rs:13:5
   |
13 |     #[wasm_bindgen {  }]
   |     ^^^^^^^^^^^^^^^^^^^^

error: aborting due to 3 previous errors