fn check_rhs(sess: &Session, rhs: &TokenTree) -> Result<(), ErrorGuaranteed>