summaryrefslogtreecommitdiffstats
path: root/tests/ui/imports/issue-28134.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/imports/issue-28134.stderr')
-rw-r--r--tests/ui/imports/issue-28134.stderr21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/ui/imports/issue-28134.stderr b/tests/ui/imports/issue-28134.stderr
new file mode 100644
index 000000000..33cb53f20
--- /dev/null
+++ b/tests/ui/imports/issue-28134.stderr
@@ -0,0 +1,21 @@
+error: cannot determine resolution for the attribute macro `test`
+ --> $DIR/issue-28134.rs:4:4
+ |
+LL | #![test]
+ | ^^^^
+ |
+ = note: import resolution is stuck, try simplifying macro imports
+
+error: `test` attribute cannot be used at crate level
+ --> $DIR/issue-28134.rs:4:1
+ |
+LL | #![test]
+ | ^^^^^^^^
+ |
+help: perhaps you meant to use an outer attribute
+ |
+LL | #[test]
+ | ~~~~~~~
+
+error: aborting due to 2 previous errors
+