fn check_matcher(
    sess: &ParseSess,
    features: &Features,
    def: &Item,
    matcher: &[TokenTree]
) -> bool