1 error: macro attributes must be placed before `#[derive]`
2 --> $DIR/attribute-order-restricted.rs:15:1
4 LL | #[attr_proc_macro] //~ ERROR macro attributes must be placed before `#[derive]`
7 error: macro attributes cannot be used together with `#[test]` or `#[bench]`
8 --> $DIR/attribute-order-restricted.rs:18:1
10 LL | #[attr_proc_macro] //~ ERROR macro attributes cannot be used together with `#[test]` or `#[bench]`
13 error: macro attributes cannot be used together with `#[test]` or `#[bench]`
14 --> $DIR/attribute-order-restricted.rs:23:1
16 LL | #[attr_proc_macro] //~ ERROR macro attributes cannot be used together with `#[test]` or `#[bench]`
19 error: macro attributes cannot be used together with `#[test]` or `#[bench]`
20 --> $DIR/attribute-order-restricted.rs:26:1
22 LL | #[attr_proc_macro] //~ ERROR macro attributes cannot be used together with `#[test]` or `#[bench]`
25 error: macro attributes cannot be used together with `#[test]` or `#[bench]`
26 --> $DIR/attribute-order-restricted.rs:31:1
28 LL | #[attr_proc_macro] //~ ERROR macro attributes cannot be used together with `#[test]` or `#[bench]`
31 error: aborting due to 5 previous errors