Function check_no_eof

Source
fn check_no_eof(
    sess: &Session,
    p: &Parser<'_>,
    msg: &'static str,
) -> Option<ErrorGuaranteed>