11error: almost complete ascii range
2- --> tests/ui/almost_complete_range.rs:18 :17
2+ --> tests/ui/almost_complete_range.rs:17 :17
33 |
44LL | let _ = ('a') ..'z';
55 | ^^^^^^--^^^
@@ -10,119 +10,119 @@ LL | let _ = ('a') ..'z';
1010 = help: to override `-D warnings` add `#[allow(clippy::almost_complete_range)]`
1111
1212error: almost complete ascii range
13- --> tests/ui/almost_complete_range.rs:19 :17
13+ --> tests/ui/almost_complete_range.rs:18 :17
1414 |
1515LL | let _ = 'A' .. ('Z');
1616 | ^^^^--^^^^^^
1717 | |
1818 | help: use an inclusive range: `..=`
1919
2020error: almost complete ascii range
21- --> tests/ui/almost_complete_range.rs:20 :17
21+ --> tests/ui/almost_complete_range.rs:19 :17
2222 |
2323LL | let _ = ((('0'))) .. ('9');
2424 | ^^^^^^^^^^--^^^^^^
2525 | |
2626 | help: use an inclusive range: `..=`
2727
2828error: almost complete ascii range
29- --> tests/ui/almost_complete_range.rs:27 :13
29+ --> tests/ui/almost_complete_range.rs:26 :13
3030 |
3131LL | let _ = (b'a')..(b'z');
3232 | ^^^^^^--^^^^^^
3333 | |
3434 | help: use an inclusive range: `..=`
3535
3636error: almost complete ascii range
37- --> tests/ui/almost_complete_range.rs:28 :13
37+ --> tests/ui/almost_complete_range.rs:27 :13
3838 |
3939LL | let _ = b'A'..b'Z';
4040 | ^^^^--^^^^
4141 | |
4242 | help: use an inclusive range: `..=`
4343
4444error: almost complete ascii range
45- --> tests/ui/almost_complete_range.rs:29 :13
45+ --> tests/ui/almost_complete_range.rs:28 :13
4646 |
4747LL | let _ = b'0'..b'9';
4848 | ^^^^--^^^^
4949 | |
5050 | help: use an inclusive range: `..=`
5151
5252error: almost complete ascii range
53- --> tests/ui/almost_complete_range.rs:35 :13
53+ --> tests/ui/almost_complete_range.rs:34 :13
5454 |
5555LL | let _ = inline!('a')..'z';
5656 | ^^^^^^^^^^^^--^^^
5757 | |
5858 | help: use an inclusive range: `..=`
5959
6060error: almost complete ascii range
61- --> tests/ui/almost_complete_range.rs:36 :13
61+ --> tests/ui/almost_complete_range.rs:35 :13
6262 |
6363LL | let _ = inline!('A')..'Z';
6464 | ^^^^^^^^^^^^--^^^
6565 | |
6666 | help: use an inclusive range: `..=`
6767
6868error: almost complete ascii range
69- --> tests/ui/almost_complete_range.rs:37 :13
69+ --> tests/ui/almost_complete_range.rs:36 :13
7070 |
7171LL | let _ = inline!('0')..'9';
7272 | ^^^^^^^^^^^^--^^^
7373 | |
7474 | help: use an inclusive range: `..=`
7575
7676error: almost complete ascii range
77- --> tests/ui/almost_complete_range.rs:40 :9
77+ --> tests/ui/almost_complete_range.rs:39 :9
7878 |
7979LL | b'a'..b'z' if true => 1,
8080 | ^^^^--^^^^
8181 | |
8282 | help: use an inclusive range: `..=`
8383
8484error: almost complete ascii range
85- --> tests/ui/almost_complete_range.rs:41 :9
85+ --> tests/ui/almost_complete_range.rs:40 :9
8686 |
8787LL | b'A'..b'Z' if true => 2,
8888 | ^^^^--^^^^
8989 | |
9090 | help: use an inclusive range: `..=`
9191
9292error: almost complete ascii range
93- --> tests/ui/almost_complete_range.rs:42 :9
93+ --> tests/ui/almost_complete_range.rs:41 :9
9494 |
9595LL | b'0'..b'9' if true => 3,
9696 | ^^^^--^^^^
9797 | |
9898 | help: use an inclusive range: `..=`
9999
100100error: almost complete ascii range
101- --> tests/ui/almost_complete_range.rs:50 :9
101+ --> tests/ui/almost_complete_range.rs:49 :9
102102 |
103103LL | 'a'..'z' if true => 1,
104104 | ^^^--^^^
105105 | |
106106 | help: use an inclusive range: `..=`
107107
108108error: almost complete ascii range
109- --> tests/ui/almost_complete_range.rs:51 :9
109+ --> tests/ui/almost_complete_range.rs:50 :9
110110 |
111111LL | 'A'..'Z' if true => 2,
112112 | ^^^--^^^
113113 | |
114114 | help: use an inclusive range: `..=`
115115
116116error: almost complete ascii range
117- --> tests/ui/almost_complete_range.rs:52 :9
117+ --> tests/ui/almost_complete_range.rs:51 :9
118118 |
119119LL | '0'..'9' if true => 3,
120120 | ^^^--^^^
121121 | |
122122 | help: use an inclusive range: `..=`
123123
124124error: almost complete ascii range
125- --> tests/ui/almost_complete_range.rs:65 :17
125+ --> tests/ui/almost_complete_range.rs:64 :17
126126 |
127127LL | let _ = 'a'..'z';
128128 | ^^^--^^^
@@ -132,7 +132,7 @@ LL | let _ = 'a'..'z';
132132 = note: this error originates in the macro `__inline_mac_fn_main` (in Nightly builds, run with -Z macro-backtrace for more info)
133133
134134error: almost complete ascii range
135- --> tests/ui/almost_complete_range.rs:66 :17
135+ --> tests/ui/almost_complete_range.rs:65 :17
136136 |
137137LL | let _ = 'A'..'Z';
138138 | ^^^--^^^
@@ -142,7 +142,7 @@ LL | let _ = 'A'..'Z';
142142 = note: this error originates in the macro `__inline_mac_fn_main` (in Nightly builds, run with -Z macro-backtrace for more info)
143143
144144error: almost complete ascii range
145- --> tests/ui/almost_complete_range.rs:67 :17
145+ --> tests/ui/almost_complete_range.rs:66 :17
146146 |
147147LL | let _ = '0'..'9';
148148 | ^^^--^^^
@@ -152,71 +152,71 @@ LL | let _ = '0'..'9';
152152 = note: this error originates in the macro `__inline_mac_fn_main` (in Nightly builds, run with -Z macro-backtrace for more info)
153153
154154error: almost complete ascii range
155- --> tests/ui/almost_complete_range.rs:74 :9
155+ --> tests/ui/almost_complete_range.rs:73 :9
156156 |
157157LL | 'a'..'z' => 1,
158158 | ^^^--^^^
159159 | |
160160 | help: use an inclusive range: `...`
161161
162162error: almost complete ascii range
163- --> tests/ui/almost_complete_range.rs:75 :9
163+ --> tests/ui/almost_complete_range.rs:74 :9
164164 |
165165LL | 'A'..'Z' => 2,
166166 | ^^^--^^^
167167 | |
168168 | help: use an inclusive range: `...`
169169
170170error: almost complete ascii range
171- --> tests/ui/almost_complete_range.rs:76 :9
171+ --> tests/ui/almost_complete_range.rs:75 :9
172172 |
173173LL | '0'..'9' => 3,
174174 | ^^^--^^^
175175 | |
176176 | help: use an inclusive range: `...`
177177
178178error: almost complete ascii range
179- --> tests/ui/almost_complete_range.rs:83 :13
179+ --> tests/ui/almost_complete_range.rs:82 :13
180180 |
181181LL | let _ = 'a'..'z';
182182 | ^^^--^^^
183183 | |
184184 | help: use an inclusive range: `..=`
185185
186186error: almost complete ascii range
187- --> tests/ui/almost_complete_range.rs:84 :13
187+ --> tests/ui/almost_complete_range.rs:83 :13
188188 |
189189LL | let _ = 'A'..'Z';
190190 | ^^^--^^^
191191 | |
192192 | help: use an inclusive range: `..=`
193193
194194error: almost complete ascii range
195- --> tests/ui/almost_complete_range.rs:85 :13
195+ --> tests/ui/almost_complete_range.rs:84 :13
196196 |
197197LL | let _ = '0'..'9';
198198 | ^^^--^^^
199199 | |
200200 | help: use an inclusive range: `..=`
201201
202202error: almost complete ascii range
203- --> tests/ui/almost_complete_range.rs:87 :9
203+ --> tests/ui/almost_complete_range.rs:86 :9
204204 |
205205LL | 'a'..'z' => 1,
206206 | ^^^--^^^
207207 | |
208208 | help: use an inclusive range: `..=`
209209
210210error: almost complete ascii range
211- --> tests/ui/almost_complete_range.rs:88 :9
211+ --> tests/ui/almost_complete_range.rs:87 :9
212212 |
213213LL | 'A'..'Z' => 1,
214214 | ^^^--^^^
215215 | |
216216 | help: use an inclusive range: `..=`
217217
218218error: almost complete ascii range
219- --> tests/ui/almost_complete_range.rs:89 :9
219+ --> tests/ui/almost_complete_range.rs:88 :9
220220 |
221221LL | '0'..'9' => 3,
222222 | ^^^--^^^
0 commit comments