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

15 lines
372 B
Plaintext
Raw Normal View History

error: setters must start with `set_`, found: a
--> $DIR/invalid-setter.rs:10:8
|
10 | fn a(this: &A, b: i32);
| ^
error: setters must start with `set_`, found: x
--> $DIR/invalid-setter.rs:15:46
|
15 | #[wasm_bindgen(setter, method, js_name = x)]
| ^
error: aborting due to 2 previous errors