|
1 | 1 | error[E0452]: malformed lint attribute |
2 | | - --> $DIR/reasons-erroneous.rs:1:58 |
| 2 | + --> $DIR/reasons-erroneous.rs:3:58 |
3 | 3 | | |
4 | 4 | LL | #![warn(absolute_paths_not_starting_with_crate, reason = 0)] |
5 | 5 | | ^ |
6 | 6 | | |
7 | 7 | = help: reason must be a string literal |
8 | 8 |
|
9 | 9 | error[E0452]: malformed lint attribute |
10 | | - --> $DIR/reasons-erroneous.rs:4:40 |
| 10 | + --> $DIR/reasons-erroneous.rs:6:40 |
11 | 11 | | |
12 | 12 | LL | #![warn(anonymous_parameters, reason = b"consider these, for we have condemned them")] |
13 | 13 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
14 | 14 | | |
15 | 15 | = help: reason must be a string literal |
16 | 16 |
|
17 | 17 | error[E0452]: malformed lint attribute |
18 | | - --> $DIR/reasons-erroneous.rs:7:29 |
| 18 | + --> $DIR/reasons-erroneous.rs:9:29 |
19 | 19 | | |
20 | 20 | LL | #![warn(bare_trait_objects, reasons = "leaders to no sure land, guides their bearings lost")] |
21 | 21 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
22 | 22 |
|
23 | 23 | error[E0452]: malformed lint attribute |
24 | | - --> $DIR/reasons-erroneous.rs:9:23 |
| 24 | + --> $DIR/reasons-erroneous.rs:11:23 |
25 | 25 | | |
26 | 26 | LL | #![warn(box_pointers, blerp = "or in league with robbers have reversed the signposts")] |
27 | 27 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
28 | 28 |
|
29 | 29 | error[E0452]: malformed lint attribute |
30 | | - --> $DIR/reasons-erroneous.rs:11:36 |
| 30 | + --> $DIR/reasons-erroneous.rs:13:36 |
31 | 31 | | |
32 | 32 | LL | #![warn(elided_lifetimes_in_paths, reason("disrespectful to ancestors", "irresponsible to heirs"))] |
33 | 33 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
34 | 34 |
|
35 | 35 | warning: unknown lint: `reason` |
36 | | - --> $DIR/reasons-erroneous.rs:13:44 |
| 36 | + --> $DIR/reasons-erroneous.rs:15:44 |
37 | 37 | | |
38 | 38 | LL | #![warn(ellipsis_inclusive_range_patterns, reason)] |
39 | 39 | | ^^^^^^ |
|
0 commit comments