mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-16 14:02:06 +03:00
75f005be23
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
9 lines
174 B
Plaintext
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
|
|
|