1
1
error: almost complete ascii range
2
- --> tests/ui/almost_complete_range.rs:18 :17
2
+ --> tests/ui/almost_complete_range.rs:17 :17
3
3
|
4
4
LL | let _ = ('a') ..'z';
5
5
| ^^^^^^--^^^
@@ -10,119 +10,119 @@ LL | let _ = ('a') ..'z';
10
10
= help: to override `-D warnings` add `#[allow(clippy::almost_complete_range)]`
11
11
12
12
error: almost complete ascii range
13
- --> tests/ui/almost_complete_range.rs:19 :17
13
+ --> tests/ui/almost_complete_range.rs:18 :17
14
14
|
15
15
LL | let _ = 'A' .. ('Z');
16
16
| ^^^^--^^^^^^
17
17
| |
18
18
| help: use an inclusive range: `..=`
19
19
20
20
error: almost complete ascii range
21
- --> tests/ui/almost_complete_range.rs:20 :17
21
+ --> tests/ui/almost_complete_range.rs:19 :17
22
22
|
23
23
LL | let _ = ((('0'))) .. ('9');
24
24
| ^^^^^^^^^^--^^^^^^
25
25
| |
26
26
| help: use an inclusive range: `..=`
27
27
28
28
error: almost complete ascii range
29
- --> tests/ui/almost_complete_range.rs:27 :13
29
+ --> tests/ui/almost_complete_range.rs:26 :13
30
30
|
31
31
LL | let _ = (b'a')..(b'z');
32
32
| ^^^^^^--^^^^^^
33
33
| |
34
34
| help: use an inclusive range: `..=`
35
35
36
36
error: almost complete ascii range
37
- --> tests/ui/almost_complete_range.rs:28 :13
37
+ --> tests/ui/almost_complete_range.rs:27 :13
38
38
|
39
39
LL | let _ = b'A'..b'Z';
40
40
| ^^^^--^^^^
41
41
| |
42
42
| help: use an inclusive range: `..=`
43
43
44
44
error: almost complete ascii range
45
- --> tests/ui/almost_complete_range.rs:29 :13
45
+ --> tests/ui/almost_complete_range.rs:28 :13
46
46
|
47
47
LL | let _ = b'0'..b'9';
48
48
| ^^^^--^^^^
49
49
| |
50
50
| help: use an inclusive range: `..=`
51
51
52
52
error: almost complete ascii range
53
- --> tests/ui/almost_complete_range.rs:35 :13
53
+ --> tests/ui/almost_complete_range.rs:34 :13
54
54
|
55
55
LL | let _ = inline!('a')..'z';
56
56
| ^^^^^^^^^^^^--^^^
57
57
| |
58
58
| help: use an inclusive range: `..=`
59
59
60
60
error: almost complete ascii range
61
- --> tests/ui/almost_complete_range.rs:36 :13
61
+ --> tests/ui/almost_complete_range.rs:35 :13
62
62
|
63
63
LL | let _ = inline!('A')..'Z';
64
64
| ^^^^^^^^^^^^--^^^
65
65
| |
66
66
| help: use an inclusive range: `..=`
67
67
68
68
error: almost complete ascii range
69
- --> tests/ui/almost_complete_range.rs:37 :13
69
+ --> tests/ui/almost_complete_range.rs:36 :13
70
70
|
71
71
LL | let _ = inline!('0')..'9';
72
72
| ^^^^^^^^^^^^--^^^
73
73
| |
74
74
| help: use an inclusive range: `..=`
75
75
76
76
error: almost complete ascii range
77
- --> tests/ui/almost_complete_range.rs:40 :9
77
+ --> tests/ui/almost_complete_range.rs:39 :9
78
78
|
79
79
LL | b'a'..b'z' if true => 1,
80
80
| ^^^^--^^^^
81
81
| |
82
82
| help: use an inclusive range: `..=`
83
83
84
84
error: almost complete ascii range
85
- --> tests/ui/almost_complete_range.rs:41 :9
85
+ --> tests/ui/almost_complete_range.rs:40 :9
86
86
|
87
87
LL | b'A'..b'Z' if true => 2,
88
88
| ^^^^--^^^^
89
89
| |
90
90
| help: use an inclusive range: `..=`
91
91
92
92
error: almost complete ascii range
93
- --> tests/ui/almost_complete_range.rs:42 :9
93
+ --> tests/ui/almost_complete_range.rs:41 :9
94
94
|
95
95
LL | b'0'..b'9' if true => 3,
96
96
| ^^^^--^^^^
97
97
| |
98
98
| help: use an inclusive range: `..=`
99
99
100
100
error: almost complete ascii range
101
- --> tests/ui/almost_complete_range.rs:50 :9
101
+ --> tests/ui/almost_complete_range.rs:49 :9
102
102
|
103
103
LL | 'a'..'z' if true => 1,
104
104
| ^^^--^^^
105
105
| |
106
106
| help: use an inclusive range: `..=`
107
107
108
108
error: almost complete ascii range
109
- --> tests/ui/almost_complete_range.rs:51 :9
109
+ --> tests/ui/almost_complete_range.rs:50 :9
110
110
|
111
111
LL | 'A'..'Z' if true => 2,
112
112
| ^^^--^^^
113
113
| |
114
114
| help: use an inclusive range: `..=`
115
115
116
116
error: almost complete ascii range
117
- --> tests/ui/almost_complete_range.rs:52 :9
117
+ --> tests/ui/almost_complete_range.rs:51 :9
118
118
|
119
119
LL | '0'..'9' if true => 3,
120
120
| ^^^--^^^
121
121
| |
122
122
| help: use an inclusive range: `..=`
123
123
124
124
error: almost complete ascii range
125
- --> tests/ui/almost_complete_range.rs:65 :17
125
+ --> tests/ui/almost_complete_range.rs:64 :17
126
126
|
127
127
LL | let _ = 'a'..'z';
128
128
| ^^^--^^^
@@ -132,7 +132,7 @@ LL | let _ = 'a'..'z';
132
132
= note: this error originates in the macro `__inline_mac_fn_main` (in Nightly builds, run with -Z macro-backtrace for more info)
133
133
134
134
error: almost complete ascii range
135
- --> tests/ui/almost_complete_range.rs:66 :17
135
+ --> tests/ui/almost_complete_range.rs:65 :17
136
136
|
137
137
LL | let _ = 'A'..'Z';
138
138
| ^^^--^^^
@@ -142,7 +142,7 @@ LL | let _ = 'A'..'Z';
142
142
= note: this error originates in the macro `__inline_mac_fn_main` (in Nightly builds, run with -Z macro-backtrace for more info)
143
143
144
144
error: almost complete ascii range
145
- --> tests/ui/almost_complete_range.rs:67 :17
145
+ --> tests/ui/almost_complete_range.rs:66 :17
146
146
|
147
147
LL | let _ = '0'..'9';
148
148
| ^^^--^^^
@@ -152,71 +152,71 @@ LL | let _ = '0'..'9';
152
152
= note: this error originates in the macro `__inline_mac_fn_main` (in Nightly builds, run with -Z macro-backtrace for more info)
153
153
154
154
error: almost complete ascii range
155
- --> tests/ui/almost_complete_range.rs:74 :9
155
+ --> tests/ui/almost_complete_range.rs:73 :9
156
156
|
157
157
LL | 'a'..'z' => 1,
158
158
| ^^^--^^^
159
159
| |
160
160
| help: use an inclusive range: `...`
161
161
162
162
error: almost complete ascii range
163
- --> tests/ui/almost_complete_range.rs:75 :9
163
+ --> tests/ui/almost_complete_range.rs:74 :9
164
164
|
165
165
LL | 'A'..'Z' => 2,
166
166
| ^^^--^^^
167
167
| |
168
168
| help: use an inclusive range: `...`
169
169
170
170
error: almost complete ascii range
171
- --> tests/ui/almost_complete_range.rs:76 :9
171
+ --> tests/ui/almost_complete_range.rs:75 :9
172
172
|
173
173
LL | '0'..'9' => 3,
174
174
| ^^^--^^^
175
175
| |
176
176
| help: use an inclusive range: `...`
177
177
178
178
error: almost complete ascii range
179
- --> tests/ui/almost_complete_range.rs:83 :13
179
+ --> tests/ui/almost_complete_range.rs:82 :13
180
180
|
181
181
LL | let _ = 'a'..'z';
182
182
| ^^^--^^^
183
183
| |
184
184
| help: use an inclusive range: `..=`
185
185
186
186
error: almost complete ascii range
187
- --> tests/ui/almost_complete_range.rs:84 :13
187
+ --> tests/ui/almost_complete_range.rs:83 :13
188
188
|
189
189
LL | let _ = 'A'..'Z';
190
190
| ^^^--^^^
191
191
| |
192
192
| help: use an inclusive range: `..=`
193
193
194
194
error: almost complete ascii range
195
- --> tests/ui/almost_complete_range.rs:85 :13
195
+ --> tests/ui/almost_complete_range.rs:84 :13
196
196
|
197
197
LL | let _ = '0'..'9';
198
198
| ^^^--^^^
199
199
| |
200
200
| help: use an inclusive range: `..=`
201
201
202
202
error: almost complete ascii range
203
- --> tests/ui/almost_complete_range.rs:87 :9
203
+ --> tests/ui/almost_complete_range.rs:86 :9
204
204
|
205
205
LL | 'a'..'z' => 1,
206
206
| ^^^--^^^
207
207
| |
208
208
| help: use an inclusive range: `..=`
209
209
210
210
error: almost complete ascii range
211
- --> tests/ui/almost_complete_range.rs:88 :9
211
+ --> tests/ui/almost_complete_range.rs:87 :9
212
212
|
213
213
LL | 'A'..'Z' => 1,
214
214
| ^^^--^^^
215
215
| |
216
216
| help: use an inclusive range: `..=`
217
217
218
218
error: almost complete ascii range
219
- --> tests/ui/almost_complete_range.rs:89 :9
219
+ --> tests/ui/almost_complete_range.rs:88 :9
220
220
|
221
221
LL | '0'..'9' => 3,
222
222
| ^^^--^^^
0 commit comments