mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 21:23:56 +00:00
Keep separators in cast_size_32bits stderr
This commit is contained in:
parent
d46edd9966
commit
71ac0c0be8
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ error: casting integer literal to `f64` is unnecessary
|
||||||
--> $DIR/cast_size_32bit.rs:34:5
|
--> $DIR/cast_size_32bit.rs:34:5
|
||||||
|
|
|
|
||||||
LL | 3_999_999_999usize as f64;
|
LL | 3_999_999_999usize as f64;
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `3999999999_f64`
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `3_999_999_999_f64`
|
||||||
|
|
|
|
||||||
= note: `-D clippy::unnecessary-cast` implied by `-D warnings`
|
= note: `-D clippy::unnecessary-cast` implied by `-D warnings`
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue