mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 15:54:15 +00:00
Test for unnecessary_cast of hex int literal.
This commit is contained in:
parent
36b65986af
commit
9ff4581cd3
@ -14,4 +14,5 @@ fn main() {
|
||||
&v as &[i32];
|
||||
1.0 as f64;
|
||||
1 as u64;
|
||||
0x42 as f32;
|
||||
}
|
||||
|
@ -14,4 +14,5 @@ fn main() {
|
||||
&v as &[i32];
|
||||
1.0 as f64;
|
||||
1 as u64;
|
||||
0x42 as f32;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user