inline format!() args up to and including rustc_middle
This commit is contained in:
parent
2e0136a131
commit
23815467a2
87 changed files with 378 additions and 437 deletions
|
@ -1052,7 +1052,7 @@ impl<'a> Parser<'a> {
|
|||
}
|
||||
components.push(Punct(c));
|
||||
} else {
|
||||
panic!("unexpected character in a float token: {:?}", c)
|
||||
panic!("unexpected character in a float token: {c:?}")
|
||||
}
|
||||
}
|
||||
if !ident_like.is_empty() {
|
||||
|
@ -1113,7 +1113,7 @@ impl<'a> Parser<'a> {
|
|||
self.error_unexpected_after_dot();
|
||||
DestructuredFloat::Error
|
||||
}
|
||||
_ => panic!("unexpected components in a float token: {:?}", components),
|
||||
_ => panic!("unexpected components in a float token: {components:?}"),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue