ra_hir: migrate some stuff to matches!()
ra_hir: migrate some stuff to matches!()

rust-analyzer/rust-analyzer,rust-analyzer/rust-analyzer,rust-analyzer/rust-analyzer,rust-analyzer/rust-analyzer,rust-analyzer/rust-analyzer