aboutsummaryrefslogtreecommitdiff
path: root/proc-macro-error/test-crate/tests/macro-errors.rs
diff options
context:
space:
mode:
Diffstat (limited to 'proc-macro-error/test-crate/tests/macro-errors.rs')
-rw-r--r--proc-macro-error/test-crate/tests/macro-errors.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/proc-macro-error/test-crate/tests/macro-errors.rs b/proc-macro-error/test-crate/tests/macro-errors.rs
new file mode 100644
index 0000000..8c672eb
--- /dev/null
+++ b/proc-macro-error/test-crate/tests/macro-errors.rs
@@ -0,0 +1,6 @@
+#[rustversion::attr(any(not(stable), before(1.39)), ignore)]
+#[test]
+fn ui() {
+ let t = trybuild::TestCases::new();
+ t.compile_fail("tests/ui/*.rs");
+}