1 error[E0452]: malformed lint attribute input
2 --> $DIR/reasons-erroneous.rs:3:58
4 LL | #![warn(absolute_paths_not_starting_with_crate, reason = 0)]
5 | ^ reason must be a string literal
7 error[E0452]: malformed lint attribute input
8 --> $DIR/reasons-erroneous.rs:8:40
10 LL | #![warn(anonymous_parameters, reason = b"consider these, for we have condemned them")]
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reason must be a string literal
13 error[E0452]: malformed lint attribute input
14 --> $DIR/reasons-erroneous.rs:13:29
16 LL | #![warn(bare_trait_objects, reasons = "leaders to no sure land, guides their bearings lost")]
17 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument
19 error[E0452]: malformed lint attribute input
20 --> $DIR/reasons-erroneous.rs:13:29
22 LL | #![warn(bare_trait_objects, reasons = "leaders to no sure land, guides their bearings lost")]
23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument
25 error[E0452]: malformed lint attribute input
26 --> $DIR/reasons-erroneous.rs:22:23
28 LL | #![warn(box_pointers, blerp = "or in league with robbers have reversed the signposts")]
29 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument
31 error[E0452]: malformed lint attribute input
32 --> $DIR/reasons-erroneous.rs:22:23
34 LL | #![warn(box_pointers, blerp = "or in league with robbers have reversed the signposts")]
35 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument
37 error[E0452]: malformed lint attribute input
38 --> $DIR/reasons-erroneous.rs:31:36
40 LL | #![warn(elided_lifetimes_in_paths, reason("disrespectful to ancestors", "irresponsible to heirs"))]
41 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument
43 error[E0452]: malformed lint attribute input
44 --> $DIR/reasons-erroneous.rs:31:36
46 LL | #![warn(elided_lifetimes_in_paths, reason("disrespectful to ancestors", "irresponsible to heirs"))]
47 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument
49 error[E0452]: malformed lint attribute input
50 --> $DIR/reasons-erroneous.rs:40:44
52 LL | #![warn(ellipsis_inclusive_range_patterns, reason = "born barren", reason = "a freak growth")]
53 | ^^^^^^^^^^^^^^^^^^^^^^ reason in lint attribute must come last
55 error[E0452]: malformed lint attribute input
56 --> $DIR/reasons-erroneous.rs:45:25
58 LL | #![warn(keyword_idents, reason = "root in rubble", macro_use_extern_crate)]
59 | ^^^^^^^^^^^^^^^^^^^^^^^^^ reason in lint attribute must come last
61 error[E0452]: malformed lint attribute input
62 --> $DIR/reasons-erroneous.rs:3:58
64 LL | #![warn(absolute_paths_not_starting_with_crate, reason = 0)]
65 | ^ reason must be a string literal
67 error[E0452]: malformed lint attribute input
68 --> $DIR/reasons-erroneous.rs:8:40
70 LL | #![warn(anonymous_parameters, reason = b"consider these, for we have condemned them")]
71 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reason must be a string literal
73 error[E0452]: malformed lint attribute input
74 --> $DIR/reasons-erroneous.rs:13:29
76 LL | #![warn(bare_trait_objects, reasons = "leaders to no sure land, guides their bearings lost")]
77 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument
79 error[E0452]: malformed lint attribute input
80 --> $DIR/reasons-erroneous.rs:13:29
82 LL | #![warn(bare_trait_objects, reasons = "leaders to no sure land, guides their bearings lost")]
83 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument
85 error[E0452]: malformed lint attribute input
86 --> $DIR/reasons-erroneous.rs:22:23
88 LL | #![warn(box_pointers, blerp = "or in league with robbers have reversed the signposts")]
89 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument
91 error[E0452]: malformed lint attribute input
92 --> $DIR/reasons-erroneous.rs:22:23
94 LL | #![warn(box_pointers, blerp = "or in league with robbers have reversed the signposts")]
95 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument
97 error[E0452]: malformed lint attribute input
98 --> $DIR/reasons-erroneous.rs:31:36
100 LL | #![warn(elided_lifetimes_in_paths, reason("disrespectful to ancestors", "irresponsible to heirs"))]
101 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument
103 error[E0452]: malformed lint attribute input
104 --> $DIR/reasons-erroneous.rs:31:36
106 LL | #![warn(elided_lifetimes_in_paths, reason("disrespectful to ancestors", "irresponsible to heirs"))]
107 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument
109 error[E0452]: malformed lint attribute input
110 --> $DIR/reasons-erroneous.rs:40:44
112 LL | #![warn(ellipsis_inclusive_range_patterns, reason = "born barren", reason = "a freak growth")]
113 | ^^^^^^^^^^^^^^^^^^^^^^ reason in lint attribute must come last
115 error[E0452]: malformed lint attribute input
116 --> $DIR/reasons-erroneous.rs:45:25
118 LL | #![warn(keyword_idents, reason = "root in rubble", macro_use_extern_crate)]
119 | ^^^^^^^^^^^^^^^^^^^^^^^^^ reason in lint attribute must come last
121 warning: unknown lint: `reason`
122 --> $DIR/reasons-erroneous.rs:50:39
124 LL | #![warn(missing_copy_implementations, reason)]
127 = note: `#[warn(unknown_lints)]` on by default
129 error: aborting due to 20 previous errors; 1 warning emitted
131 For more information about this error, try `rustc --explain E0452`.