summaryrefslogtreecommitdiffstats
path: root/src/test/ui/proc-macro/issue-91800.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/proc-macro/issue-91800.stderr')
-rw-r--r--src/test/ui/proc-macro/issue-91800.stderr56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/test/ui/proc-macro/issue-91800.stderr b/src/test/ui/proc-macro/issue-91800.stderr
new file mode 100644
index 000000000..9c356263a
--- /dev/null
+++ b/src/test/ui/proc-macro/issue-91800.stderr
@@ -0,0 +1,56 @@
+error: macros that expand to items must be delimited with braces or followed by a semicolon
+ --> $DIR/issue-91800.rs:6:10
+ |
+LL | #[derive(MyTrait)]
+ | ^^^^^^^
+ |
+ = note: this error originates in the derive macro `MyTrait` (in Nightly builds, run with -Z macro-backtrace for more info)
+
+error: proc-macro derive produced unparseable tokens
+ --> $DIR/issue-91800.rs:6:10
+ |
+LL | #[derive(MyTrait)]
+ | ^^^^^^^
+
+error:
+ --> $DIR/issue-91800.rs:6:10
+ |
+LL | #[derive(MyTrait)]
+ | ^^^^^^^
+ |
+ = note: this error originates in the derive macro `MyTrait` (in Nightly builds, run with -Z macro-backtrace for more info)
+
+error: macros that expand to items must be delimited with braces or followed by a semicolon
+ --> $DIR/issue-91800.rs:9:1
+ |
+LL | #[attribute_macro]
+ | ^^^^^^^^^^^^^^^^^^
+ |
+ = note: this error originates in the attribute macro `attribute_macro` (in Nightly builds, run with -Z macro-backtrace for more info)
+
+error:
+ --> $DIR/issue-91800.rs:9:1
+ |
+LL | #[attribute_macro]
+ | ^^^^^^^^^^^^^^^^^^
+ |
+ = note: this error originates in the attribute macro `attribute_macro` (in Nightly builds, run with -Z macro-backtrace for more info)
+
+error: macros that expand to items must be delimited with braces or followed by a semicolon
+ --> $DIR/issue-91800.rs:13:1
+ |
+LL | fn_macro! {}
+ | ^^^^^^^^^^^^
+ |
+ = note: this error originates in the macro `fn_macro` (in Nightly builds, run with -Z macro-backtrace for more info)
+
+error:
+ --> $DIR/issue-91800.rs:13:1
+ |
+LL | fn_macro! {}
+ | ^^^^^^^^^^^^
+ |
+ = note: this error originates in the macro `fn_macro` (in Nightly builds, run with -Z macro-backtrace for more info)
+
+error: aborting due to 7 previous errors
+