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
|
@ -43,7 +43,7 @@ fn decodable_body(
|
|||
let ty_name = s.ast().ident.to_string();
|
||||
let decode_body = match s.variants() {
|
||||
[] => {
|
||||
let message = format!("`{}` has no variants to decode", ty_name);
|
||||
let message = format!("`{ty_name}` has no variants to decode");
|
||||
quote! {
|
||||
panic!(#message)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue