]> git.proxmox.com Git - rustc.git/blob - src/test/ui/proc-macro/issue-91800.stderr
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / ui / proc-macro / issue-91800.stderr
1 error: macros that expand to items must be delimited with braces or followed by a semicolon
2 --> $DIR/issue-91800.rs:6:10
3 |
4 LL | #[derive(MyTrait)]
5 | ^^^^^^^
6 |
7 = note: this error originates in the derive macro `MyTrait` (in Nightly builds, run with -Z macro-backtrace for more info)
8
9 error: proc-macro derive produced unparseable tokens
10 --> $DIR/issue-91800.rs:6:10
11 |
12 LL | #[derive(MyTrait)]
13 | ^^^^^^^
14
15 error:
16 --> $DIR/issue-91800.rs:6:10
17 |
18 LL | #[derive(MyTrait)]
19 | ^^^^^^^
20 |
21 = note: this error originates in the derive macro `MyTrait` (in Nightly builds, run with -Z macro-backtrace for more info)
22
23 error: macros that expand to items must be delimited with braces or followed by a semicolon
24 --> $DIR/issue-91800.rs:9:1
25 |
26 LL | #[attribute_macro]
27 | ^^^^^^^^^^^^^^^^^^
28 |
29 = note: this error originates in the attribute macro `attribute_macro` (in Nightly builds, run with -Z macro-backtrace for more info)
30
31 error:
32 --> $DIR/issue-91800.rs:9:1
33 |
34 LL | #[attribute_macro]
35 | ^^^^^^^^^^^^^^^^^^
36 |
37 = note: this error originates in the attribute macro `attribute_macro` (in Nightly builds, run with -Z macro-backtrace for more info)
38
39 error: macros that expand to items must be delimited with braces or followed by a semicolon
40 --> $DIR/issue-91800.rs:13:1
41 |
42 LL | fn_macro! {}
43 | ^^^^^^^^^^^^
44 |
45 = note: this error originates in the macro `fn_macro` (in Nightly builds, run with -Z macro-backtrace for more info)
46
47 error:
48 --> $DIR/issue-91800.rs:13:1
49 |
50 LL | fn_macro! {}
51 | ^^^^^^^^^^^^
52 |
53 = note: this error originates in the macro `fn_macro` (in Nightly builds, run with -Z macro-backtrace for more info)
54
55 error: aborting due to 7 previous errors
56