mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 13:43:17 +00:00
c2c73189c8
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
11 lines
420 B
Text
11 lines
420 B
Text
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 1 previous error
|
|
|