summaryrefslogtreecommitdiffstats
path: root/vendor/wasm-bindgen-macro/ui-tests/invalid-setter.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/wasm-bindgen-macro/ui-tests/invalid-setter.stderr')
-rw-r--r--vendor/wasm-bindgen-macro/ui-tests/invalid-setter.stderr5
1 files changed, 5 insertions, 0 deletions
diff --git a/vendor/wasm-bindgen-macro/ui-tests/invalid-setter.stderr b/vendor/wasm-bindgen-macro/ui-tests/invalid-setter.stderr
new file mode 100644
index 000000000..77e1509e9
--- /dev/null
+++ b/vendor/wasm-bindgen-macro/ui-tests/invalid-setter.stderr
@@ -0,0 +1,5 @@
+error: setters must start with `set_`, found: a
+ --> $DIR/invalid-setter.rs:9:8
+ |
+9 | fn a(this: &A, b: i32);
+ | ^