about summary refs log tree commit diff
path: root/tests/ui/attrs-resolution-errors.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/attrs-resolution-errors.stderr')
-rw-r--r--tests/ui/attrs-resolution-errors.stderr32
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/ui/attrs-resolution-errors.stderr b/tests/ui/attrs-resolution-errors.stderr
new file mode 100644
index 00000000000..883f96e5c19
--- /dev/null
+++ b/tests/ui/attrs-resolution-errors.stderr
@@ -0,0 +1,32 @@
+error: expected non-macro attribute, found attribute macro `test`
+  --> $DIR/attrs-resolution-errors.rs:2:7
+   |
+LL |     #[test]
+   |       ^^^^ not a non-macro attribute
+
+error: expected non-macro attribute, found attribute macro `test`
+  --> $DIR/attrs-resolution-errors.rs:8:7
+   |
+LL |     #[test]
+   |       ^^^^ not a non-macro attribute
+
+error: expected non-macro attribute, found attribute macro `test`
+  --> $DIR/attrs-resolution-errors.rs:23:15
+   |
+LL |             #[test] bar
+   |               ^^^^ not a non-macro attribute
+
+error: expected non-macro attribute, found attribute macro `test`
+  --> $DIR/attrs-resolution-errors.rs:30:11
+   |
+LL |         #[test]
+   |           ^^^^ not a non-macro attribute
+
+error: expected non-macro attribute, found attribute macro `test`
+  --> $DIR/attrs-resolution-errors.rs:36:11
+   |
+LL |         #[test]
+   |           ^^^^ not a non-macro attribute
+
+error: aborting due to 5 previous errors
+