]>
Commit | Line | Data |
---|---|---|
dc9dc135 | 1 | error[E0452]: malformed lint attribute input |
a1dfa0c6 XL |
2 | --> $DIR/reasons-erroneous.rs:3:58 |
3 | | | |
4 | LL | #![warn(absolute_paths_not_starting_with_crate, reason = 0)] | |
dc9dc135 | 5 | | ^ reason must be a string literal |
a1dfa0c6 | 6 | |
dc9dc135 | 7 | error[E0452]: malformed lint attribute input |
17df50a5 | 8 | --> $DIR/reasons-erroneous.rs:8:40 |
a1dfa0c6 XL |
9 | | |
10 | LL | #![warn(anonymous_parameters, reason = b"consider these, for we have condemned them")] | |
dc9dc135 | 11 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reason must be a string literal |
a1dfa0c6 | 12 | |
dc9dc135 | 13 | error[E0452]: malformed lint attribute input |
17df50a5 | 14 | --> $DIR/reasons-erroneous.rs:13:29 |
a1dfa0c6 XL |
15 | | |
16 | LL | #![warn(bare_trait_objects, reasons = "leaders to no sure land, guides their bearings lost")] | |
dc9dc135 | 17 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument |
a1dfa0c6 | 18 | |
dc9dc135 | 19 | error[E0452]: malformed lint attribute input |
17df50a5 | 20 | --> $DIR/reasons-erroneous.rs:13:29 |
dfeec247 XL |
21 | | |
22 | LL | #![warn(bare_trait_objects, reasons = "leaders to no sure land, guides their bearings lost")] | |
23 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument | |
24 | ||
25 | error[E0452]: malformed lint attribute input | |
17df50a5 | 26 | --> $DIR/reasons-erroneous.rs:22:23 |
a1dfa0c6 XL |
27 | | |
28 | LL | #![warn(box_pointers, blerp = "or in league with robbers have reversed the signposts")] | |
dc9dc135 | 29 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument |
a1dfa0c6 | 30 | |
dc9dc135 | 31 | error[E0452]: malformed lint attribute input |
17df50a5 | 32 | --> $DIR/reasons-erroneous.rs:22:23 |
dfeec247 XL |
33 | | |
34 | LL | #![warn(box_pointers, blerp = "or in league with robbers have reversed the signposts")] | |
35 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument | |
36 | ||
37 | error[E0452]: malformed lint attribute input | |
17df50a5 | 38 | --> $DIR/reasons-erroneous.rs:31:36 |
dfeec247 XL |
39 | | |
40 | LL | #![warn(elided_lifetimes_in_paths, reason("disrespectful to ancestors", "irresponsible to heirs"))] | |
41 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument | |
42 | ||
43 | error[E0452]: malformed lint attribute input | |
17df50a5 | 44 | --> $DIR/reasons-erroneous.rs:31:36 |
a1dfa0c6 XL |
45 | | |
46 | LL | #![warn(elided_lifetimes_in_paths, reason("disrespectful to ancestors", "irresponsible to heirs"))] | |
dc9dc135 | 47 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument |
a1dfa0c6 | 48 | |
dc9dc135 | 49 | error[E0452]: malformed lint attribute input |
17df50a5 | 50 | --> $DIR/reasons-erroneous.rs:40:44 |
a1dfa0c6 XL |
51 | | |
52 | LL | #![warn(ellipsis_inclusive_range_patterns, reason = "born barren", reason = "a freak growth")] | |
dc9dc135 | 53 | | ^^^^^^^^^^^^^^^^^^^^^^ reason in lint attribute must come last |
a1dfa0c6 | 54 | |
dc9dc135 | 55 | error[E0452]: malformed lint attribute input |
17df50a5 | 56 | --> $DIR/reasons-erroneous.rs:45:25 |
a1dfa0c6 XL |
57 | | |
58 | LL | #![warn(keyword_idents, reason = "root in rubble", macro_use_extern_crate)] | |
dc9dc135 | 59 | | ^^^^^^^^^^^^^^^^^^^^^^^^^ reason in lint attribute must come last |
a1dfa0c6 | 60 | |
dfeec247 XL |
61 | error[E0452]: malformed lint attribute input |
62 | --> $DIR/reasons-erroneous.rs:3:58 | |
63 | | | |
64 | LL | #![warn(absolute_paths_not_starting_with_crate, reason = 0)] | |
65 | | ^ reason must be a string literal | |
66 | ||
67 | error[E0452]: malformed lint attribute input | |
17df50a5 | 68 | --> $DIR/reasons-erroneous.rs:8:40 |
dfeec247 XL |
69 | | |
70 | LL | #![warn(anonymous_parameters, reason = b"consider these, for we have condemned them")] | |
71 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reason must be a string literal | |
72 | ||
73 | error[E0452]: malformed lint attribute input | |
17df50a5 | 74 | --> $DIR/reasons-erroneous.rs:13:29 |
dfeec247 XL |
75 | | |
76 | LL | #![warn(bare_trait_objects, reasons = "leaders to no sure land, guides their bearings lost")] | |
77 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument | |
78 | ||
79 | error[E0452]: malformed lint attribute input | |
17df50a5 | 80 | --> $DIR/reasons-erroneous.rs:13:29 |
dfeec247 XL |
81 | | |
82 | LL | #![warn(bare_trait_objects, reasons = "leaders to no sure land, guides their bearings lost")] | |
83 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument | |
84 | ||
85 | error[E0452]: malformed lint attribute input | |
17df50a5 | 86 | --> $DIR/reasons-erroneous.rs:22:23 |
dfeec247 XL |
87 | | |
88 | LL | #![warn(box_pointers, blerp = "or in league with robbers have reversed the signposts")] | |
89 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument | |
90 | ||
91 | error[E0452]: malformed lint attribute input | |
17df50a5 | 92 | --> $DIR/reasons-erroneous.rs:22:23 |
dfeec247 XL |
93 | | |
94 | LL | #![warn(box_pointers, blerp = "or in league with robbers have reversed the signposts")] | |
95 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument | |
96 | ||
97 | error[E0452]: malformed lint attribute input | |
17df50a5 | 98 | --> $DIR/reasons-erroneous.rs:31:36 |
dfeec247 XL |
99 | | |
100 | LL | #![warn(elided_lifetimes_in_paths, reason("disrespectful to ancestors", "irresponsible to heirs"))] | |
101 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument | |
102 | ||
103 | error[E0452]: malformed lint attribute input | |
17df50a5 | 104 | --> $DIR/reasons-erroneous.rs:31:36 |
dfeec247 XL |
105 | | |
106 | LL | #![warn(elided_lifetimes_in_paths, reason("disrespectful to ancestors", "irresponsible to heirs"))] | |
107 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument | |
108 | ||
109 | error[E0452]: malformed lint attribute input | |
17df50a5 | 110 | --> $DIR/reasons-erroneous.rs:40:44 |
dfeec247 XL |
111 | | |
112 | LL | #![warn(ellipsis_inclusive_range_patterns, reason = "born barren", reason = "a freak growth")] | |
113 | | ^^^^^^^^^^^^^^^^^^^^^^ reason in lint attribute must come last | |
114 | ||
115 | error[E0452]: malformed lint attribute input | |
17df50a5 | 116 | --> $DIR/reasons-erroneous.rs:45:25 |
dfeec247 XL |
117 | | |
118 | LL | #![warn(keyword_idents, reason = "root in rubble", macro_use_extern_crate)] | |
119 | | ^^^^^^^^^^^^^^^^^^^^^^^^^ reason in lint attribute must come last | |
120 | ||
923072b8 FG |
121 | warning: unknown lint: `reason` |
122 | --> $DIR/reasons-erroneous.rs:50:39 | |
123 | | | |
124 | LL | #![warn(missing_copy_implementations, reason)] | |
125 | | ^^^^^^ | |
126 | | | |
127 | = note: `#[warn(unknown_lints)]` on by default | |
128 | ||
17df50a5 | 129 | error: aborting due to 20 previous errors; 1 warning emitted |
a1dfa0c6 XL |
130 | |
131 | For more information about this error, try `rustc --explain E0452`. |