summaryrefslogtreecommitdiffstats
path: root/vendor/wasm-bindgen-macro/ui-tests/non-public-function.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/wasm-bindgen-macro/ui-tests/non-public-function.stderr')
-rw-r--r--vendor/wasm-bindgen-macro/ui-tests/non-public-function.stderr5
1 files changed, 5 insertions, 0 deletions
diff --git a/vendor/wasm-bindgen-macro/ui-tests/non-public-function.stderr b/vendor/wasm-bindgen-macro/ui-tests/non-public-function.stderr
new file mode 100644
index 000000000..02f2a329f
--- /dev/null
+++ b/vendor/wasm-bindgen-macro/ui-tests/non-public-function.stderr
@@ -0,0 +1,5 @@
+error: can only #[wasm_bindgen] public functions
+ --> $DIR/non-public-function.rs:4:1
+ |
+4 | fn foo() {}
+ | ^^^^^^^^^^^