Function syntax::parse::classify::stmt_ends_with_semi [] [src]

pub fn stmt_ends_with_semi(stmt: &StmtKind) -> bool
🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

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.