mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-25 22:14:25 +00:00
Remove Enum Instruction::Unpack
This commit is contained in:
parent
3b99c07a1e
commit
df4be1f9ce
1 changed files with 1 additions and 2 deletions
|
@ -1617,9 +1617,8 @@ impl<O: OutputStream> Compiler<O> {
|
||||||
self.compile_comprehension(kind, generators)?;
|
self.compile_comprehension(kind, generators)?;
|
||||||
}
|
}
|
||||||
Starred { .. } => {
|
Starred { .. } => {
|
||||||
use std::string::String;
|
|
||||||
return Err(CompileError {
|
return Err(CompileError {
|
||||||
error: CompileErrorType::SyntaxError(String::from(
|
error: CompileErrorType::SyntaxError(std::string::String::from(
|
||||||
"Invalid starred expression",
|
"Invalid starred expression",
|
||||||
)),
|
)),
|
||||||
location: self.current_source_location.clone(),
|
location: self.current_source_location.clone(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue