fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: digits grouped inconsistently by underscores 2 --> $DIR/inconsistent_digit_grouping.rs:25:16 3 | 4LL | let bad = (1_23_456, 1_234_5678, 1234_567, 1_234.5678_f32, 1.234_5678_f32); 5 | ^^^^^^^^ help: consider: `123_456` 6 | 7 = note: `-D clippy::inconsistent-digit-grouping` implied by `-D warnings` 8 = help: to override `-D warnings` add `#[allow(clippy::inconsistent_digit_grouping)]` 9 10error: digits grouped inconsistently by underscores 11 --> $DIR/inconsistent_digit_grouping.rs:25:26 12 | 13LL | let bad = (1_23_456, 1_234_5678, 1234_567, 1_234.5678_f32, 1.234_5678_f32); 14 | ^^^^^^^^^^ help: consider: `12_345_678` 15 16error: digits grouped inconsistently by underscores 17 --> $DIR/inconsistent_digit_grouping.rs:25:38 18 | 19LL | let bad = (1_23_456, 1_234_5678, 1234_567, 1_234.5678_f32, 1.234_5678_f32); 20 | ^^^^^^^^ help: consider: `1_234_567` 21 22error: digits grouped inconsistently by underscores 23 --> $DIR/inconsistent_digit_grouping.rs:25:48 24 | 25LL | let bad = (1_23_456, 1_234_5678, 1234_567, 1_234.5678_f32, 1.234_5678_f32); 26 | ^^^^^^^^^^^^^^ help: consider: `1_234.567_8_f32` 27 28error: digits grouped inconsistently by underscores 29 --> $DIR/inconsistent_digit_grouping.rs:25:64 30 | 31LL | let bad = (1_23_456, 1_234_5678, 1234_567, 1_234.5678_f32, 1.234_5678_f32); 32 | ^^^^^^^^^^^^^^ help: consider: `1.234_567_8_f32` 33 34error: long literal lacking separators 35 --> $DIR/inconsistent_digit_grouping.rs:28:13 36 | 37LL | let _ = 0x100000; 38 | ^^^^^^^^ help: consider: `0x0010_0000` 39 | 40note: the lint level is defined here 41 --> $DIR/inconsistent_digit_grouping.rs:2:8 42 | 43LL | #[deny(clippy::unreadable_literal)] 44 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 45 46error: long literal lacking separators 47 --> $DIR/inconsistent_digit_grouping.rs:29:13 48 | 49LL | let _ = 0x1000000; 50 | ^^^^^^^^^ help: consider: `0x0100_0000` 51 52error: long literal lacking separators 53 --> $DIR/inconsistent_digit_grouping.rs:30:13 54 | 55LL | let _ = 0x10000000; 56 | ^^^^^^^^^^ help: consider: `0x1000_0000` 57 58error: long literal lacking separators 59 --> $DIR/inconsistent_digit_grouping.rs:31:13 60 | 61LL | let _ = 0x100000000_u64; 62 | ^^^^^^^^^^^^^^^ help: consider: `0x0001_0000_0000_u64` 63 64error: digits grouped inconsistently by underscores 65 --> $DIR/inconsistent_digit_grouping.rs:34:18 66 | 67LL | let _: f32 = 1_23_456.; 68 | ^^^^^^^^^ help: consider: `123_456.` 69 70error: aborting due to 10 previous errors 71