add is_any_ptr type test; this also helps pacify tidy

This commit is contained in:
Ralf Jung 2019-07-25 01:02:41 +02:00
parent 144e5e99b5
commit 7b30612c9b
4 changed files with 9 additions and 6 deletions

View file

@ -1,4 +1,3 @@
fn main() {
// Make sure match uses the usual pointer comparison code path -- i.e., it should complain
// that pointer comparison is disallowed, not that parts of a pointer are accessed as raw