]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/invalid-attributes.stderr
Rollup merge of #107576 - P1n3appl3:master, r=tmandry
[rust.git] / tests / ui / proc-macro / invalid-attributes.stderr
1 error: malformed `proc_macro` attribute input
2   --> $DIR/invalid-attributes.rs:10:1
3    |
4 LL | #[proc_macro = "test"]
5    | ^^^^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[proc_macro]`
6
7 error: malformed `proc_macro` attribute input
8   --> $DIR/invalid-attributes.rs:13:1
9    |
10 LL | #[proc_macro()]
11    | ^^^^^^^^^^^^^^^ help: must be of the form: `#[proc_macro]`
12
13 error: malformed `proc_macro` attribute input
14   --> $DIR/invalid-attributes.rs:16:1
15    |
16 LL | #[proc_macro(x)]
17    | ^^^^^^^^^^^^^^^^ help: must be of the form: `#[proc_macro]`
18
19 error: malformed `proc_macro_attribute` attribute input
20   --> $DIR/invalid-attributes.rs:19:1
21    |
22 LL | #[proc_macro_attribute = "test"]
23    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[proc_macro_attribute]`
24
25 error: malformed `proc_macro_attribute` attribute input
26   --> $DIR/invalid-attributes.rs:22:1
27    |
28 LL | #[proc_macro_attribute()]
29    | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[proc_macro_attribute]`
30
31 error: malformed `proc_macro_attribute` attribute input
32   --> $DIR/invalid-attributes.rs:25:1
33    |
34 LL | #[proc_macro_attribute(x)]
35    | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[proc_macro_attribute]`
36
37 error: aborting due to 6 previous errors
38