fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: integer type suffix should be separated by an underscore 2 --> $DIR/unseparated_prefix_literals.rs:23:18 3 | 4LL | let _fail1 = 1234i32; 5 | ^^^^^^^ help: add an underscore: `1234_i32` 6 | 7 = note: `-D clippy::unseparated-literal-suffix` implied by `-D warnings` 8 = help: to override `-D warnings` add `#[allow(clippy::unseparated_literal_suffix)]` 9 10error: integer type suffix should be separated by an underscore 11 --> $DIR/unseparated_prefix_literals.rs:24:18 12 | 13LL | let _fail2 = 1234u32; 14 | ^^^^^^^ help: add an underscore: `1234_u32` 15 16error: integer type suffix should be separated by an underscore 17 --> $DIR/unseparated_prefix_literals.rs:25:18 18 | 19LL | let _fail3 = 1234isize; 20 | ^^^^^^^^^ help: add an underscore: `1234_isize` 21 22error: integer type suffix should be separated by an underscore 23 --> $DIR/unseparated_prefix_literals.rs:26:18 24 | 25LL | let _fail4 = 1234usize; 26 | ^^^^^^^^^ help: add an underscore: `1234_usize` 27 28error: integer type suffix should be separated by an underscore 29 --> $DIR/unseparated_prefix_literals.rs:27:18 30 | 31LL | let _fail5 = 0x123isize; 32 | ^^^^^^^^^^ help: add an underscore: `0x123_isize` 33 34error: float type suffix should be separated by an underscore 35 --> $DIR/unseparated_prefix_literals.rs:31:19 36 | 37LL | let _failf1 = 1.5f32; 38 | ^^^^^^ help: add an underscore: `1.5_f32` 39 40error: float type suffix should be separated by an underscore 41 --> $DIR/unseparated_prefix_literals.rs:32:19 42 | 43LL | let _failf2 = 1f32; 44 | ^^^^ help: add an underscore: `1_f32` 45 46error: integer type suffix should be separated by an underscore 47 --> $DIR/unseparated_prefix_literals.rs:15:9 48 | 49LL | 42usize 50 | ^^^^^^^ help: add an underscore: `42_usize` 51... 52LL | let _ = lit_from_macro!(); 53 | ----------------- in this macro invocation 54 | 55 = note: this error originates in the macro `lit_from_macro` (in Nightly builds, run with -Z macro-backtrace for more info) 56 57error: integer type suffix should be separated by an underscore 58 --> $DIR/unseparated_prefix_literals.rs:40:16 59 | 60LL | assert_eq!(4897u32, 32223); 61 | ^^^^^^^ help: add an underscore: `4897_u32` 62 63error: aborting due to 9 previous errors 64