Test for unnecessary_cast of hex int literal.

This commit is contained in:
mlegner 2020-03-02 09:49:33 +01:00
parent 36b65986af
commit 9ff4581cd3
No known key found for this signature in database
GPG key ID: 8373ED3B4CCFA845
2 changed files with 2 additions and 0 deletions

View file

@ -14,4 +14,5 @@ fn main() {
&v as &[i32];
1.0 as f64;
1 as u64;
0x42 as f32;
}

View file

@ -14,4 +14,5 @@ fn main() {
&v as &[i32];
1.0 as f64;
1 as u64;
0x42 as f32;
}