fn choose_matcher(pat: Option<&Pat>) -> &'static str