fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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