fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
1.2 KiB38 linesraw
1error: malformed `proc_macro` attribute input
2  --> $DIR/invalid-attributes.rs:10:1
3   |
4LL | #[proc_macro = "test"]
5   | ^^^^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[proc_macro]`
6
7error: malformed `proc_macro` attribute input
8  --> $DIR/invalid-attributes.rs:13:1
9   |
10LL | #[proc_macro()]
11   | ^^^^^^^^^^^^^^^ help: must be of the form: `#[proc_macro]`
12
13error: malformed `proc_macro` attribute input
14  --> $DIR/invalid-attributes.rs:16:1
15   |
16LL | #[proc_macro(x)]
17   | ^^^^^^^^^^^^^^^^ help: must be of the form: `#[proc_macro]`
18
19error: malformed `proc_macro_attribute` attribute input
20  --> $DIR/invalid-attributes.rs:19:1
21   |
22LL | #[proc_macro_attribute = "test"]
23   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[proc_macro_attribute]`
24
25error: malformed `proc_macro_attribute` attribute input
26  --> $DIR/invalid-attributes.rs:22:1
27   |
28LL | #[proc_macro_attribute()]
29   | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[proc_macro_attribute]`
30
31error: malformed `proc_macro_attribute` attribute input
32  --> $DIR/invalid-attributes.rs:25:1
33   |
34LL | #[proc_macro_attribute(x)]
35   | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[proc_macro_attribute]`
36
37error: aborting due to 6 previous errors
38