fork/rust

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

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

master
4.0 KiB179 linesraw
1error: this ident consists of a single char
2  --> $DIR/min_ident_chars.rs:8:8
3   |
4LL | struct A {
5   |        ^
6   |
7   = note: `-D clippy::min-ident-chars` implied by `-D warnings`
8   = help: to override `-D warnings` add `#[allow(clippy::min_ident_chars)]`
9
10error: this ident consists of a single char
11  --> $DIR/min_ident_chars.rs:9:5
12   |
13LL |     a: u32,
14   |     ^
15
16error: this ident consists of a single char
17  --> $DIR/min_ident_chars.rs:11:5
18   |
19LL |     A: u32,
20   |     ^
21
22error: this ident consists of a single char
23  --> $DIR/min_ident_chars.rs:12:5
24   |
25LL |     I: u32,
26   |     ^
27
28error: this ident consists of a single char
29  --> $DIR/min_ident_chars.rs:15:8
30   |
31LL | struct B(u32);
32   |        ^
33
34error: this ident consists of a single char
35  --> $DIR/min_ident_chars.rs:17:8
36   |
37LL | struct O {
38   |        ^
39
40error: this ident consists of a single char
41  --> $DIR/min_ident_chars.rs:18:5
42   |
43LL |     o: u32,
44   |     ^
45
46error: this ident consists of a single char
47  --> $DIR/min_ident_chars.rs:23:6
48   |
49LL | enum C {
50   |      ^
51
52error: this ident consists of a single char
53  --> $DIR/min_ident_chars.rs:24:5
54   |
55LL |     D,
56   |     ^
57
58error: this ident consists of a single char
59  --> $DIR/min_ident_chars.rs:25:5
60   |
61LL |     E,
62   |     ^
63
64error: this ident consists of a single char
65  --> $DIR/min_ident_chars.rs:26:5
66   |
67LL |     F,
68   |     ^
69
70error: this ident consists of a single char
71  --> $DIR/min_ident_chars.rs:50:9
72   |
73LL |     let h = 1;
74   |         ^
75
76error: this ident consists of a single char
77  --> $DIR/min_ident_chars.rs:51:9
78   |
79LL |     let e = 2;
80   |         ^
81
82error: this ident consists of a single char
83  --> $DIR/min_ident_chars.rs:52:9
84   |
85LL |     let l = 3;
86   |         ^
87
88error: this ident consists of a single char
89  --> $DIR/min_ident_chars.rs:53:9
90   |
91LL |     let l = 4;
92   |         ^
93
94error: this ident consists of a single char
95  --> $DIR/min_ident_chars.rs:54:9
96   |
97LL |     let o = 6;
98   |         ^
99
100error: this ident consists of a single char
101  --> $DIR/min_ident_chars.rs:58:10
102   |
103LL |     let (h, o, w) = (1, 2, 3);
104   |          ^
105
106error: this ident consists of a single char
107  --> $DIR/min_ident_chars.rs:58:13
108   |
109LL |     let (h, o, w) = (1, 2, 3);
110   |             ^
111
112error: this ident consists of a single char
113  --> $DIR/min_ident_chars.rs:59:10
114   |
115LL |     for (a, (r, e)) in (0..1000).enumerate().enumerate() {}
116   |          ^
117
118error: this ident consists of a single char
119  --> $DIR/min_ident_chars.rs:59:14
120   |
121LL |     for (a, (r, e)) in (0..1000).enumerate().enumerate() {}
122   |              ^
123
124error: this ident consists of a single char
125  --> $DIR/min_ident_chars.rs:59:17
126   |
127LL |     for (a, (r, e)) in (0..1000).enumerate().enumerate() {}
128   |                 ^
129
130error: this ident consists of a single char
131  --> $DIR/min_ident_chars.rs:61:16
132   |
133LL |     while let (d, o, _i, n, g) = (true, true, false, false, true) {}
134   |                ^
135
136error: this ident consists of a single char
137  --> $DIR/min_ident_chars.rs:61:19
138   |
139LL |     while let (d, o, _i, n, g) = (true, true, false, false, true) {}
140   |                   ^
141
142error: this ident consists of a single char
143  --> $DIR/min_ident_chars.rs:61:29
144   |
145LL |     while let (d, o, _i, n, g) = (true, true, false, false, true) {}
146   |                             ^
147
148error: this ident consists of a single char
149  --> $DIR/min_ident_chars.rs:65:9
150   |
151LL |     let o = 1;
152   |         ^
153
154error: this ident consists of a single char
155  --> $DIR/min_ident_chars.rs:66:9
156   |
157LL |     let o = O { o };
158   |         ^
159
160error: this ident consists of a single char
161  --> $DIR/min_ident_chars.rs:80:4
162   |
163LL | fn b() {}
164   |    ^
165
166error: this ident consists of a single char
167  --> $DIR/min_ident_chars.rs:81:21
168   |
169LL | fn wrong_pythagoras(a: f32, b: f32) -> f32 {
170   |                     ^
171
172error: this ident consists of a single char
173  --> $DIR/min_ident_chars.rs:81:29
174   |
175LL | fn wrong_pythagoras(a: f32, b: f32) -> f32 {
176   |                             ^
177
178error: aborting due to 29 previous errors
179