]> git.lizzy.rs Git - rust.git/blob - src/test/ui-fulldeps/attribute-order-restricted.stderr
Auto merge of #54265 - arielb1:civilize-proc-macros, r=alexcrichton
[rust.git] / src / test / ui-fulldeps / attribute-order-restricted.stderr
1 error: macro attributes must be placed before `#[derive]`
2   --> $DIR/attribute-order-restricted.rs:15:1
3    |
4 LL | #[attr_proc_macro] //~ ERROR macro attributes must be placed before `#[derive]`
5    | ^^^^^^^^^^^^^^^^^^
6
7 error: macro attributes cannot be used together with `#[test]` or `#[bench]`
8   --> $DIR/attribute-order-restricted.rs:18:1
9    |
10 LL | #[attr_proc_macro] //~ ERROR macro attributes cannot be used together with `#[test]` or `#[bench]`
11    | ^^^^^^^^^^^^^^^^^^
12
13 error: macro attributes cannot be used together with `#[test]` or `#[bench]`
14   --> $DIR/attribute-order-restricted.rs:23:1
15    |
16 LL | #[attr_proc_macro] //~ ERROR macro attributes cannot be used together with `#[test]` or `#[bench]`
17    | ^^^^^^^^^^^^^^^^^^
18
19 error: macro attributes cannot be used together with `#[test]` or `#[bench]`
20   --> $DIR/attribute-order-restricted.rs:26:1
21    |
22 LL | #[attr_proc_macro] //~ ERROR macro attributes cannot be used together with `#[test]` or `#[bench]`
23    | ^^^^^^^^^^^^^^^^^^
24
25 error: macro attributes cannot be used together with `#[test]` or `#[bench]`
26   --> $DIR/attribute-order-restricted.rs:31:1
27    |
28 LL | #[attr_proc_macro] //~ ERROR macro attributes cannot be used together with `#[test]` or `#[bench]`
29    | ^^^^^^^^^^^^^^^^^^
30
31 error: aborting due to 5 previous errors
32