1 error: `0 as *const _` detected. Consider using `ptr::null()`
2 --> $DIR/zero_ptr.rs:3:13
4 LL | 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:4:13
12 LL | let y = 0 as *mut f64;
15 error: aborting due to 2 previous errors