mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-09 22:25:23 +00:00
Fix nightly clippy warnings
This commit is contained in:
parent
7b9e7e0443
commit
9250260e20
8 changed files with 45 additions and 48 deletions
|
@ -457,7 +457,7 @@ impl Compiler {
|
|||
NameUsage::Delete if is_forbidden_name(name) => "cannot delete",
|
||||
_ => return Ok(()),
|
||||
};
|
||||
Err(self.error(CodegenErrorType::SyntaxError(format!("{} {}", msg, name))))
|
||||
Err(self.error(CodegenErrorType::SyntaxError(format!("{msg} {name}"))))
|
||||
}
|
||||
|
||||
fn compile_name(&mut self, name: &str, usage: NameUsage) -> CompileResult<()> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue