1 error: comparing with null is better expressed by the `.is_null()` method
2 --> $DIR/cmp_null.rs:9:8
4 LL | if p == ptr::null() {
7 = note: `-D clippy::cmp-null` implied by `-D warnings`
9 error: comparing with null is better expressed by the `.is_null()` method
10 --> $DIR/cmp_null.rs:14:8
12 LL | if m == ptr::null_mut() {
13 | ^^^^^^^^^^^^^^^^^^^^
15 error: aborting due to 2 previous errors