mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-23 13:06:07 +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)?;
|
||||
}
|
||||
Starred { .. } => {
|
||||
use std::string::String;
|
||||
return Err(CompileError {
|
||||
error: CompileErrorType::SyntaxError(String::from(
|
||||
error: CompileErrorType::SyntaxError(std::string::String::from(
|
||||
"Invalid starred expression",
|
||||
)),
|
||||
location: self.current_source_location.clone(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue