◐ Shell
clean mode source ↗

rustpython_compiler::error::CompileErrorType - Rust

pub enum CompileErrorType {
    Assign(&'static str),
    Delete(&'static str),
    ExpectExpr,
    Parse(ParseErrorType),
    SyntaxError(String),
    StarArgs,
    InvalidBreak,
    InvalidContinue,
    InvalidReturn,
    InvalidYield,
}

Variants

Assign(&'static str)

Invalid assignment, cannot store value in target.

Delete(&'static str)

Invalid delete

ExpectExpr

Expected an expression got a statement

Parser error

StarArgs

Multiple * detected

InvalidBreak

Break statement outside of loop.

InvalidContinue

Continue statement outside of loop.

InvalidReturn

InvalidYield

Trait Implementations

Auto Trait Implementations

Blanket Implementations