1 2 3 4 5 6 7 8
// run-pass // Check that we allow a cast to `_` so long as the target type can be // inferred elsewhere. pub fn main() { let i: *const i32 = 0 as _; assert!(i.is_null()); }