@@ -94,99 +94,25 @@ LL | let fail13 = 0x1_23456_78901_usize;
9494 |
9595 = note: `-D clippy::large-digit-groups` implied by `-D warnings`
9696
97- error: mistyped literal suffix
98- --> $DIR/literals.rs:42:18
99- |
100- LL | let fail14 = 2_32;
101- | ^^^^ help: did you mean to write: `2_i32`
102- |
103- = note: #[deny(clippy::mistyped_literal_suffixes)] on by default
104-
105- error: mistyped literal suffix
106- --> $DIR/literals.rs:43:18
107- |
108- LL | let fail15 = 4_64;
109- | ^^^^ help: did you mean to write: `4_i64`
110-
111- error: mistyped literal suffix
112- --> $DIR/literals.rs:44:18
113- |
114- LL | let fail16 = 7_8;
115- | ^^^ help: did you mean to write: `7_i8`
116-
117- error: mistyped literal suffix
118- --> $DIR/literals.rs:45:18
119- |
120- LL | let fail17 = 23_16;
121- | ^^^^^ help: did you mean to write: `23_i16`
122-
12397error: digits grouped inconsistently by underscores
124- --> $DIR/literals.rs:47 :18
98+ --> $DIR/literals.rs:42 :18
12599 |
126100LL | let fail19 = 12_3456_21;
127101 | ^^^^^^^^^^ help: consider: `12_345_621`
128102 |
129103 = note: `-D clippy::inconsistent-digit-grouping` implied by `-D warnings`
130104
131- error: mistyped literal suffix
132- --> $DIR/literals.rs:48:18
133- |
134- LL | let fail20 = 2__8;
135- | ^^^^ help: did you mean to write: `2_i8`
136-
137- error: mistyped literal suffix
138- --> $DIR/literals.rs:49:18
139- |
140- LL | let fail21 = 4___16;
141- | ^^^^^^ help: did you mean to write: `4_i16`
142-
143105error: digits grouped inconsistently by underscores
144- --> $DIR/literals.rs:50 :18
106+ --> $DIR/literals.rs:43 :18
145107 |
146108LL | let fail22 = 3__4___23;
147109 | ^^^^^^^^^ help: consider: `3_423`
148110
149111error: digits grouped inconsistently by underscores
150- --> $DIR/literals.rs:51 :18
112+ --> $DIR/literals.rs:44 :18
151113 |
152114LL | let fail23 = 3__16___23;
153115 | ^^^^^^^^^^ help: consider: `31_623`
154116
155- error: mistyped literal suffix
156- --> $DIR/literals.rs:53:18
157- |
158- LL | let fail24 = 12.34_64;
159- | ^^^^^^^^ help: did you mean to write: `12.34_f64`
160-
161- error: mistyped literal suffix
162- --> $DIR/literals.rs:54:18
163- |
164- LL | let fail25 = 1E2_32;
165- | ^^^^^^ help: did you mean to write: `1E2_f32`
166-
167- error: mistyped literal suffix
168- --> $DIR/literals.rs:55:18
169- |
170- LL | let fail26 = 43E7_64;
171- | ^^^^^^^ help: did you mean to write: `43E7_f64`
172-
173- error: mistyped literal suffix
174- --> $DIR/literals.rs:56:18
175- |
176- LL | let fail27 = 243E17_32;
177- | ^^^^^^^^^ help: did you mean to write: `243E17_f32`
178-
179- error: mistyped literal suffix
180- --> $DIR/literals.rs:57:18
181- |
182- LL | let fail28 = 241251235E723_64;
183- | ^^^^^^^^^^^^^^^^ help: did you mean to write: `241_251_235E723_f64`
184-
185- error: mistyped literal suffix
186- --> $DIR/literals.rs:58:18
187- |
188- LL | let fail29 = 42279.911_32;
189- | ^^^^^^^^^^^^ help: did you mean to write: `42_279.911_f32`
190-
191- error: aborting due to 27 previous errors
117+ error: aborting due to 15 previous errors
192118
0 commit comments