Skip to content

Commit dcdf8cd

Browse files
committed
ignore more type aliases in unnecessary_cast
1 parent c3d7b22 commit dcdf8cd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/ui/unnecessary_cast.rs

-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ fn main() {
6969
// do not lint cast from cfg-dependant type
7070
let x = 0 as std::ffi::c_ulong;
7171
let y = x as u64;
72-
// this already isn't linted,
7372
let x: std::ffi::c_ulong = 0;
7473
let y = x as u64;
7574

0 commit comments

Comments
 (0)