1 error: use `std::ptr::eq` when comparing raw pointers
2 --> $DIR/ptr_eq.rs:20:13
4 LL | let _ = a as *const _ as usize == b as *const _ as usize;
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::ptr::eq(a, b)`
7 = note: `-D clippy::ptr-eq` implied by `-D warnings`
9 error: use `std::ptr::eq` when comparing raw pointers
10 --> $DIR/ptr_eq.rs:21:13
12 LL | let _ = a as *const _ == b as *const _;
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::ptr::eq(a, b)`
15 error: aborting due to 2 previous errors