fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.7 KiB56 linesraw
1error: macros that expand to items must be delimited with braces or followed by a semicolon
2  --> $DIR/issue-91800.rs:6:10
3   |
4LL | #[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
9error: proc-macro derive produced unparsable tokens
10  --> $DIR/issue-91800.rs:6:10
11   |
12LL | #[derive(MyTrait)]
13   |          ^^^^^^^
14
15error: 
16  --> $DIR/issue-91800.rs:6:10
17   |
18LL | #[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
23error: macros that expand to items must be delimited with braces or followed by a semicolon
24  --> $DIR/issue-91800.rs:9:1
25   |
26LL | #[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
31error: 
32  --> $DIR/issue-91800.rs:9:1
33   |
34LL | #[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
39error: macros that expand to items must be delimited with braces or followed by a semicolon
40  --> $DIR/issue-91800.rs:13:1
41   |
42LL | 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
47error: 
48  --> $DIR/issue-91800.rs:13:1
49   |
50LL | 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
55error: aborting due to 7 previous errors
56