]> git.lizzy.rs Git - rust.git/blob - tests/ui/rfc-2397-do-not-recommend/incorrect-locations.stderr
Rollup merge of #106799 - scottmcm:remove-unused-generics, r=cuviper
[rust.git] / tests / ui / rfc-2397-do-not-recommend / incorrect-locations.stderr
1 error: `#[do_not_recommend]` can only be placed on trait implementations
2   --> $DIR/incorrect-locations.rs:3:1
3    |
4 LL | #[do_not_recommend]
5    | ^^^^^^^^^^^^^^^^^^^
6
7 error: `#[do_not_recommend]` can only be placed on trait implementations
8   --> $DIR/incorrect-locations.rs:7:1
9    |
10 LL | #[do_not_recommend]
11    | ^^^^^^^^^^^^^^^^^^^
12
13 error: `#[do_not_recommend]` can only be placed on trait implementations
14   --> $DIR/incorrect-locations.rs:11:1
15    |
16 LL | #[do_not_recommend]
17    | ^^^^^^^^^^^^^^^^^^^
18
19 error: `#[do_not_recommend]` can only be placed on trait implementations
20   --> $DIR/incorrect-locations.rs:15:1
21    |
22 LL | #[do_not_recommend]
23    | ^^^^^^^^^^^^^^^^^^^
24
25 error: `#[do_not_recommend]` can only be placed on trait implementations
26   --> $DIR/incorrect-locations.rs:20:1
27    |
28 LL | #[do_not_recommend]
29    | ^^^^^^^^^^^^^^^^^^^
30
31 error: `#[do_not_recommend]` can only be placed on trait implementations
32   --> $DIR/incorrect-locations.rs:25:1
33    |
34 LL | #[do_not_recommend]
35    | ^^^^^^^^^^^^^^^^^^^
36
37 error: `#[do_not_recommend]` can only be placed on trait implementations
38   --> $DIR/incorrect-locations.rs:30:1
39    |
40 LL | #[do_not_recommend]
41    | ^^^^^^^^^^^^^^^^^^^
42
43 error: `#[do_not_recommend]` can only be placed on trait implementations
44   --> $DIR/incorrect-locations.rs:35:1
45    |
46 LL | #[do_not_recommend]
47    | ^^^^^^^^^^^^^^^^^^^
48
49 error: aborting due to 8 previous errors
50