summaryrefslogtreecommitdiffstats
path: root/vendor/wasm-bindgen-macro/ui-tests/invalid-attr.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/wasm-bindgen-macro/ui-tests/invalid-attr.stderr')
-rw-r--r--vendor/wasm-bindgen-macro/ui-tests/invalid-attr.stderr17
1 files changed, 17 insertions, 0 deletions
diff --git a/vendor/wasm-bindgen-macro/ui-tests/invalid-attr.stderr b/vendor/wasm-bindgen-macro/ui-tests/invalid-attr.stderr
new file mode 100644
index 000000000..47264acd3
--- /dev/null
+++ b/vendor/wasm-bindgen-macro/ui-tests/invalid-attr.stderr
@@ -0,0 +1,17 @@
+error: unknown attribute
+ --> $DIR/invalid-attr.rs:3:16
+ |
+3 | #[wasm_bindgen(x)]
+ | ^
+
+error: unknown attribute
+ --> $DIR/invalid-attr.rs:8:20
+ |
+8 | #[wasm_bindgen(y)]
+ | ^
+
+error: malformed #[wasm_bindgen] attribute
+ --> $DIR/invalid-attr.rs:11:5
+ |
+11 | #[wasm_bindgen { }]
+ | ^^^^^^^^^^^^^^^^^^^^