]>
Commit | Line | Data |
---|---|---|
f20569fa XL |
1 | // run-rustfix |
2 | ||
3 | #![allow( | |
4 | dead_code, | |
5 | unused_variables, | |
6 | clippy::excessive_precision, | |
7 | clippy::inconsistent_digit_grouping | |
8 | )] | |
9 | ||
10 | fn main() { | |
11 | let fail14 = 2_32; | |
12 | let fail15 = 4_64; | |
13 | let fail16 = 7_8; // | |
14 | let fail17 = 23_16; // | |
15 | let ok18 = 23_128; | |
16 | ||
17 | let fail20 = 2__8; // | |
18 | let fail21 = 4___16; // | |
19 | ||
20 | let ok24 = 12.34_64; | |
21 | let fail25 = 1E2_32; | |
22 | let fail26 = 43E7_64; | |
23 | let fail27 = 243E17_32; | |
24 | #[allow(overflowing_literals)] | |
25 | let fail28 = 241251235E723_64; | |
26 | let ok29 = 42279.911_32; | |
27 | ||
28 | let _ = 1.12345E1_32; | |
29 | } |