1 error: `#[do_not_recommend]` can only be placed on trait implementations
2 --> $DIR/incorrect-locations.rs:3:1
4 LL | #[do_not_recommend]
7 error: `#[do_not_recommend]` can only be placed on trait implementations
8 --> $DIR/incorrect-locations.rs:7:1
10 LL | #[do_not_recommend]
13 error: `#[do_not_recommend]` can only be placed on trait implementations
14 --> $DIR/incorrect-locations.rs:11:1
16 LL | #[do_not_recommend]
19 error: `#[do_not_recommend]` can only be placed on trait implementations
20 --> $DIR/incorrect-locations.rs:15:1
22 LL | #[do_not_recommend]
25 error: `#[do_not_recommend]` can only be placed on trait implementations
26 --> $DIR/incorrect-locations.rs:20:1
28 LL | #[do_not_recommend]
31 error: `#[do_not_recommend]` can only be placed on trait implementations
32 --> $DIR/incorrect-locations.rs:25:1
34 LL | #[do_not_recommend]
37 error: `#[do_not_recommend]` can only be placed on trait implementations
38 --> $DIR/incorrect-locations.rs:30:1
40 LL | #[do_not_recommend]
43 error: `#[do_not_recommend]` can only be placed on trait implementations
44 --> $DIR/incorrect-locations.rs:35:1
46 LL | #[do_not_recommend]
49 error: aborting due to 8 previous errors