pub(crate) fn stmt_ends_with_semi(stmt: &StmtKind<'_>) -> bool
This statement requires a semicolon after it. note that in one case (stmt_semi), we’ve already seen the semicolon, and thus don’t need another.