summaryrefslogtreecommitdiffstats
path: root/src/test/ui/macros/macro-path-prelude-fail-4.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/macros/macro-path-prelude-fail-4.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui/macros/macro-path-prelude-fail-4.stderr b/src/test/ui/macros/macro-path-prelude-fail-4.stderr
new file mode 100644
index 000000000..dfd6818b6
--- /dev/null
+++ b/src/test/ui/macros/macro-path-prelude-fail-4.stderr
@@ -0,0 +1,8 @@
+error: expected derive macro, found built-in attribute `inline`
+ --> $DIR/macro-path-prelude-fail-4.rs:1:10
+ |
+LL | #[derive(inline)]
+ | ^^^^^^ not a derive macro
+
+error: aborting due to previous error
+