ptr::eq()
Also, do not strip conversions of a function pointer to a `*const`, as no implicit conversion will take place.