summaryrefslogtreecommitdiffstats
path: root/third_party/rust/rustversion/tests/ui/bad-not.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/rustversion/tests/ui/bad-not.stderr')
-rw-r--r--third_party/rust/rustversion/tests/ui/bad-not.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/third_party/rust/rustversion/tests/ui/bad-not.stderr b/third_party/rust/rustversion/tests/ui/bad-not.stderr
new file mode 100644
index 0000000000..2b0c699332
--- /dev/null
+++ b/third_party/rust/rustversion/tests/ui/bad-not.stderr
@@ -0,0 +1,11 @@
+error: expected `(` after `not`
+ --> tests/ui/bad-not.rs:1:20
+ |
+1 | #[rustversion::any(not)]
+ | ^^^
+
+error: expected `(`
+ --> tests/ui/bad-not.rs:4:23
+ |
+4 | #[rustversion::any(not, not)]
+ | ^