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

12 lines
418 B
Plaintext
Raw Normal View History

2023-09-24 07:56:40 -05:00
error: integer literal has a better hexadecimal representation
--> $DIR/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 previous error