1 warning: `0 as *const _` detected. Consider using `ptr::null()`
2 --> $DIR/zero_ptr.rs:6:13
4 6 | let x = 0 as *const usize;
7 = note: #[warn(zero_ptr)] on by default
9 warning: `0 as *mut _` detected. Consider using `ptr::null_mut()`
10 --> $DIR/zero_ptr.rs:7:13
12 7 | let y = 0 as *mut f64;
15 = note: #[warn(zero_ptr)] on by default