inline format!() args up to and including rustc_middle

This commit is contained in:
Matthias Krüger
2023-07-25 22:00:13 +02:00
parent 2e0136a131
commit 23815467a2
87 changed files with 378 additions and 437 deletions

View File

@@ -72,7 +72,7 @@ impl AllocFnFactory<'_, '_> {
let mut abi_args = ThinVec::new();
let mut i = 0;
let mut mk = || {
let name = Ident::from_str_and_span(&format!("arg{}", i), self.span);
let name = Ident::from_str_and_span(&format!("arg{i}"), self.span);
i += 1;
name
};