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:10: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:17: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:17: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:30: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:30: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:43: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:43: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:56: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:63:25
58 LL | #![warn(keyword_idents, reason = "root in rubble", macro_use_extern_crate)]
59 | ^^^^^^^^^^^^^^^^^^^^^^^^^ reason in lint attribute must come last
61 warning: unknown lint: `reason`
62 --> $DIR/reasons-erroneous.rs:70:39
64 LL | #![warn(missing_copy_implementations, reason)]
67 = note: `#[warn(unknown_lints)]` on by default
69 error[E0452]: malformed lint attribute input
70 --> $DIR/reasons-erroneous.rs:3:58
72 LL | #![warn(absolute_paths_not_starting_with_crate, reason = 0)]
73 | ^ reason must be a string literal
75 error[E0452]: malformed lint attribute input
76 --> $DIR/reasons-erroneous.rs:10:40
78 LL | #![warn(anonymous_parameters, reason = b"consider these, for we have condemned them")]
79 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reason must be a string literal
81 error[E0452]: malformed lint attribute input
82 --> $DIR/reasons-erroneous.rs:17:29
84 LL | #![warn(bare_trait_objects, reasons = "leaders to no sure land, guides their bearings lost")]
85 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument
87 error[E0452]: malformed lint attribute input
88 --> $DIR/reasons-erroneous.rs:17:29
90 LL | #![warn(bare_trait_objects, reasons = "leaders to no sure land, guides their bearings lost")]
91 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument
93 error[E0452]: malformed lint attribute input
94 --> $DIR/reasons-erroneous.rs:30:23
96 LL | #![warn(box_pointers, blerp = "or in league with robbers have reversed the signposts")]
97 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument
99 error[E0452]: malformed lint attribute input
100 --> $DIR/reasons-erroneous.rs:30:23
102 LL | #![warn(box_pointers, blerp = "or in league with robbers have reversed the signposts")]
103 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument
105 error[E0452]: malformed lint attribute input
106 --> $DIR/reasons-erroneous.rs:43:36
108 LL | #![warn(elided_lifetimes_in_paths, reason("disrespectful to ancestors", "irresponsible to heirs"))]
109 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument
111 error[E0452]: malformed lint attribute input
112 --> $DIR/reasons-erroneous.rs:43:36
114 LL | #![warn(elided_lifetimes_in_paths, reason("disrespectful to ancestors", "irresponsible to heirs"))]
115 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument
117 error[E0452]: malformed lint attribute input
118 --> $DIR/reasons-erroneous.rs:56:44
120 LL | #![warn(ellipsis_inclusive_range_patterns, reason = "born barren", reason = "a freak growth")]
121 | ^^^^^^^^^^^^^^^^^^^^^^ reason in lint attribute must come last
123 error[E0452]: malformed lint attribute input
124 --> $DIR/reasons-erroneous.rs:63:25
126 LL | #![warn(keyword_idents, reason = "root in rubble", macro_use_extern_crate)]
127 | ^^^^^^^^^^^^^^^^^^^^^^^^^ reason in lint attribute must come last
129 error[E0452]: malformed lint attribute input
130 --> $DIR/reasons-erroneous.rs:3:58
132 LL | #![warn(absolute_paths_not_starting_with_crate, reason = 0)]
133 | ^ reason must be a string literal
135 error[E0452]: malformed lint attribute input
136 --> $DIR/reasons-erroneous.rs:10:40
138 LL | #![warn(anonymous_parameters, reason = b"consider these, for we have condemned them")]
139 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reason must be a string literal
141 error[E0452]: malformed lint attribute input
142 --> $DIR/reasons-erroneous.rs:17:29
144 LL | #![warn(bare_trait_objects, reasons = "leaders to no sure land, guides their bearings lost")]
145 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument
147 error[E0452]: malformed lint attribute input
148 --> $DIR/reasons-erroneous.rs:17:29
150 LL | #![warn(bare_trait_objects, reasons = "leaders to no sure land, guides their bearings lost")]
151 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument
153 error[E0452]: malformed lint attribute input
154 --> $DIR/reasons-erroneous.rs:30:23
156 LL | #![warn(box_pointers, blerp = "or in league with robbers have reversed the signposts")]
157 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument
159 error[E0452]: malformed lint attribute input
160 --> $DIR/reasons-erroneous.rs:30:23
162 LL | #![warn(box_pointers, blerp = "or in league with robbers have reversed the signposts")]
163 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument
165 error[E0452]: malformed lint attribute input
166 --> $DIR/reasons-erroneous.rs:43:36
168 LL | #![warn(elided_lifetimes_in_paths, reason("disrespectful to ancestors", "irresponsible to heirs"))]
169 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument
171 error[E0452]: malformed lint attribute input
172 --> $DIR/reasons-erroneous.rs:43:36
174 LL | #![warn(elided_lifetimes_in_paths, reason("disrespectful to ancestors", "irresponsible to heirs"))]
175 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument
177 error[E0452]: malformed lint attribute input
178 --> $DIR/reasons-erroneous.rs:56:44
180 LL | #![warn(ellipsis_inclusive_range_patterns, reason = "born barren", reason = "a freak growth")]
181 | ^^^^^^^^^^^^^^^^^^^^^^ reason in lint attribute must come last
183 error[E0452]: malformed lint attribute input
184 --> $DIR/reasons-erroneous.rs:63:25
186 LL | #![warn(keyword_idents, reason = "root in rubble", macro_use_extern_crate)]
187 | ^^^^^^^^^^^^^^^^^^^^^^^^^ reason in lint attribute must come last
189 error: aborting due to 30 previous errors
191 For more information about this error, try `rustc --explain E0452`.