|
1 | 1 | warning: `#[diagnostic::do_not_recommend]` can only be placed on trait implementations
|
2 |
| - --> $DIR/incorrect-locations.rs:6:1 |
| 2 | + --> $DIR/incorrect-locations.rs:7:1 |
3 | 3 | |
|
4 | 4 | LL | #[diagnostic::do_not_recommend]
|
5 | 5 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
6 | 6 | |
|
7 | 7 | = note: `#[warn(unknown_or_malformed_diagnostic_attributes)]` on by default
|
8 | 8 |
|
9 | 9 | warning: `#[diagnostic::do_not_recommend]` can only be placed on trait implementations
|
10 |
| - --> $DIR/incorrect-locations.rs:10:1 |
| 10 | + --> $DIR/incorrect-locations.rs:11:1 |
11 | 11 | |
|
12 | 12 | LL | #[diagnostic::do_not_recommend]
|
13 | 13 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
14 | 14 |
|
15 | 15 | warning: `#[diagnostic::do_not_recommend]` can only be placed on trait implementations
|
16 |
| - --> $DIR/incorrect-locations.rs:14:1 |
| 16 | + --> $DIR/incorrect-locations.rs:15:1 |
17 | 17 | |
|
18 | 18 | LL | #[diagnostic::do_not_recommend]
|
19 | 19 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
20 | 20 |
|
21 | 21 | warning: `#[diagnostic::do_not_recommend]` can only be placed on trait implementations
|
22 |
| - --> $DIR/incorrect-locations.rs:18:1 |
| 22 | + --> $DIR/incorrect-locations.rs:19:1 |
23 | 23 | |
|
24 | 24 | LL | #[diagnostic::do_not_recommend]
|
25 | 25 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
26 | 26 |
|
27 | 27 | warning: `#[diagnostic::do_not_recommend]` can only be placed on trait implementations
|
28 |
| - --> $DIR/incorrect-locations.rs:22:1 |
| 28 | + --> $DIR/incorrect-locations.rs:23:1 |
29 | 29 | |
|
30 | 30 | LL | #[diagnostic::do_not_recommend]
|
31 | 31 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
32 | 32 |
|
33 | 33 | warning: `#[diagnostic::do_not_recommend]` can only be placed on trait implementations
|
34 |
| - --> $DIR/incorrect-locations.rs:26:1 |
| 34 | + --> $DIR/incorrect-locations.rs:27:1 |
35 | 35 | |
|
36 | 36 | LL | #[diagnostic::do_not_recommend]
|
37 | 37 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
38 | 38 |
|
39 | 39 | warning: `#[diagnostic::do_not_recommend]` can only be placed on trait implementations
|
40 |
| - --> $DIR/incorrect-locations.rs:30:1 |
| 40 | + --> $DIR/incorrect-locations.rs:31:1 |
41 | 41 | |
|
42 | 42 | LL | #[diagnostic::do_not_recommend]
|
43 | 43 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
44 | 44 |
|
45 | 45 | warning: `#[diagnostic::do_not_recommend]` can only be placed on trait implementations
|
46 |
| - --> $DIR/incorrect-locations.rs:34:1 |
| 46 | + --> $DIR/incorrect-locations.rs:35:1 |
47 | 47 | |
|
48 | 48 | LL | #[diagnostic::do_not_recommend]
|
49 | 49 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
50 | 50 |
|
51 | 51 | warning: `#[diagnostic::do_not_recommend]` can only be placed on trait implementations
|
52 |
| - --> $DIR/incorrect-locations.rs:38:1 |
| 52 | + --> $DIR/incorrect-locations.rs:39:1 |
53 | 53 | |
|
54 | 54 | LL | #[diagnostic::do_not_recommend]
|
55 | 55 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
0 commit comments