1 error[E0452]: malformed lint attribute
2 --> $DIR/reasons-erroneous.rs:3:58
4 LL | #![warn(absolute_paths_not_starting_with_crate, reason = 0)]
7 = help: reason must be a string literal
9 error[E0452]: malformed lint attribute
10 --> $DIR/reasons-erroneous.rs:6:40
12 LL | #![warn(anonymous_parameters, reason = b"consider these, for we have condemned them")]
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15 = help: reason must be a string literal
17 error[E0452]: malformed lint attribute
18 --> $DIR/reasons-erroneous.rs:9:29
20 LL | #![warn(bare_trait_objects, reasons = "leaders to no sure land, guides their bearings lost")]
21 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
23 error[E0452]: malformed lint attribute
24 --> $DIR/reasons-erroneous.rs:11:23
26 LL | #![warn(box_pointers, blerp = "or in league with robbers have reversed the signposts")]
27 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
29 error[E0452]: malformed lint attribute
30 --> $DIR/reasons-erroneous.rs:13:36
32 LL | #![warn(elided_lifetimes_in_paths, reason("disrespectful to ancestors", "irresponsible to heirs"))]
33 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
35 warning: unknown lint: `reason`
36 --> $DIR/reasons-erroneous.rs:15:44
38 LL | #![warn(ellipsis_inclusive_range_patterns, reason)]
41 = note: #[warn(unknown_lints)] on by default
43 error: aborting due to 5 previous errors
45 For more information about this error, try `rustc --explain E0452`.