1 error: Comparing with null is better expressed by the .is_null() method
2 --> $DIR/cmp_null.rs:11:8
4 11 | if p == ptr::null() {
7 note: lint level defined here
8 --> $DIR/cmp_null.rs:3:9
10 3 | #![deny(cmp_null)]
13 error: Comparing with null is better expressed by the .is_null() method
14 --> $DIR/cmp_null.rs:16:8
16 16 | if m == ptr::null_mut() {
17 | ^^^^^^^^^^^^^^^^^^^^
19 error: aborting due to 2 previous errors