summaryrefslogtreecommitdiffstats
path: root/vendor/proc-macro-hack/tests/compiletest.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/proc-macro-hack/tests/compiletest.rs')
-rw-r--r--vendor/proc-macro-hack/tests/compiletest.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/vendor/proc-macro-hack/tests/compiletest.rs b/vendor/proc-macro-hack/tests/compiletest.rs
new file mode 100644
index 000000000..f9aea23b5
--- /dev/null
+++ b/vendor/proc-macro-hack/tests/compiletest.rs
@@ -0,0 +1,6 @@
+#[rustversion::attr(not(nightly), ignore)]
+#[test]
+fn ui() {
+ let t = trybuild::TestCases::new();
+ t.compile_fail("tests/ui/*.rs");
+}