summaryrefslogtreecommitdiffstats
path: root/third_party/rust/pin-project-lite/tests/ui/invalid.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/pin-project-lite/tests/ui/invalid.stderr')
-rw-r--r--third_party/rust/pin-project-lite/tests/ui/invalid.stderr17
1 files changed, 17 insertions, 0 deletions
diff --git a/third_party/rust/pin-project-lite/tests/ui/invalid.stderr b/third_party/rust/pin-project-lite/tests/ui/invalid.stderr
new file mode 100644
index 0000000000..f780e2e69a
--- /dev/null
+++ b/third_party/rust/pin-project-lite/tests/ui/invalid.stderr
@@ -0,0 +1,17 @@
+error: no rules expected the token `(`
+ --> $DIR/invalid.rs:5:14
+ |
+5 | #[pin()] //~ ERROR no rules expected the token `(`
+ | ^ no rules expected this token in macro call
+
+error: no rules expected the token `#`
+ --> $DIR/invalid.rs:20:9
+ |
+20 | #[pin] //~ ERROR no rules expected the token `#`
+ | ^ no rules expected this token in macro call
+
+error: cannot find attribute `pin` in this scope
+ --> $DIR/invalid.rs:11:7
+ |
+11 | #[pin] //~ ERROR cannot find attribute `pin` in this scope
+ | ^^^