wasm-bindgen/crates/macro/ui-tests/invalid-setter.stderr
Alex Crichton 75f005be23 Support #[wasm_bindgen(setter, js_name = ...)]
Previously we'd require the explicit `js_name` to *also* start with
`set_`, but when explicitly specified it shouldn't be mangled at all!

Closes #584
2018-09-21 17:54:26 -07:00

9 lines
174 B
Plaintext

error: setters must start with `set_`, found: a
--> $DIR/invalid-setter.rs:10:8
|
10 | fn a(this: &A, b: i32);
| ^
error: aborting due to previous error