rust/clippy_tests/examples/unreadable_literal.stderr

38 lines
1.2 KiB
Plaintext
Raw Normal View History

2017-07-19 19:56:32 -04:00
error: long literal lacking separators
--> unreadable_literal.rs:7:16
|
7 | let bad = (0b10110_i64, 0x12345678901_usize, 12345_f32, 1.23456_f32);
| ^^^^^^^^^^^
|
= note: `-D unreadable-literal` implied by `-D warnings`
= help: consider using underscores to make literal more readable
error: long literal lacking separators
--> unreadable_literal.rs:7:29
|
7 | let bad = (0b10110_i64, 0x12345678901_usize, 12345_f32, 1.23456_f32);
| ^^^^^^^^^^^^^^^^^^^
|
= help: consider using underscores to make literal more readable
error: long literal lacking separators
--> unreadable_literal.rs:7:50
|
7 | let bad = (0b10110_i64, 0x12345678901_usize, 12345_f32, 1.23456_f32);
| ^^^^^^^^^
|
= help: consider using underscores to make literal more readable
error: long literal lacking separators
--> unreadable_literal.rs:7:61
|
7 | let bad = (0b10110_i64, 0x12345678901_usize, 12345_f32, 1.23456_f32);
| ^^^^^^^^^^^
|
= help: consider using underscores to make literal more readable
error: aborting due to 4 previous errors
To learn more, run the command again with --verbose.