inline format!() args up to and including rustc_middle
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user