Function rustc_hir_pretty::stmt_ends_with_semi

source ·
pub(crate) fn stmt_ends_with_semi(stmt: &StmtKind<'_>) -> bool
Expand description

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.