1 error: `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: `-D clippy::zero-ptr` implied by `-D warnings`
9 error: `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 error: aborting due to 2 previous errors