summaryrefslogtreecommitdiffstats
path: root/vendor/wasm-bindgen-macro/tests
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 12:41:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 12:41:35 +0000
commit7e5d7eea9c580ef4b41a765bde624af431942b96 (patch)
tree2c0d9ca12878fc4525650aa4e54d77a81a07cc09 /vendor/wasm-bindgen-macro/tests
parentAdding debian version 1.70.0+dfsg1-9. (diff)
downloadrustc-7e5d7eea9c580ef4b41a765bde624af431942b96.tar.xz
rustc-7e5d7eea9c580ef4b41a765bde624af431942b96.zip
Merging upstream version 1.70.0+dfsg2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/wasm-bindgen-macro/tests')
-rw-r--r--vendor/wasm-bindgen-macro/tests/ui.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/vendor/wasm-bindgen-macro/tests/ui.rs b/vendor/wasm-bindgen-macro/tests/ui.rs
new file mode 100644
index 000000000..da15c9214
--- /dev/null
+++ b/vendor/wasm-bindgen-macro/tests/ui.rs
@@ -0,0 +1,5 @@
+#[test]
+fn ui() {
+ let t = trybuild::TestCases::new();
+ t.compile_fail("ui-tests/*.rs");
+}