rust/tests/ui-toml/decimal_literal_representation/decimal_literal_representation.stderr

12 lines
451 B
Plaintext
Raw Normal View History

error: integer literal has a better hexadecimal representation
2024-01-25 03:38:43 -06:00
--> $DIR/decimal_literal_representation/decimal_literal_representation.rs:4:13
|
LL | let _ = 16777215;
| ^^^^^^^^ help: consider: `0x00FF_FFFF`
|
= note: `-D clippy::decimal-literal-representation` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::decimal_literal_representation)]`
error: aborting due to 1 previous error