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
Expected an expression got a statement
Parser error
Multiple * detected
Break statement outside of loop.
Continue statement outside of loop.