You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement new lint for detecting buggy pointer-to-int casts
New lint `invalid_ptr_to_int_cast` detects pointer (or function) to
integer casts when the integer is not usize (or u64), and suggests going
through usize, e.g. `x as usize as u32`.
See #81686 for motivation.
Closes#81686
0 commit comments