diff options
| author | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2023-04-09 23:29:39 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-09 23:29:39 +0200 |
| commit | 73417b1e1503ad6a3eeae93cd12ecdc727f002c0 (patch) | |
| tree | 8eb461b17c430bb4d1f7271556ba7c13006fab50 /compiler/rustc_macros/src | |
| parent | cab94d29ffc4929a181cbfdb744f87deab467cc1 (diff) | |
| download | rust-73417b1e1503ad6a3eeae93cd12ecdc727f002c0.tar.gz rust-73417b1e1503ad6a3eeae93cd12ecdc727f002c0.zip | |
Inline format_args
Co-authored-by: Michael Goulet <michael@errs.io>
Diffstat (limited to 'compiler/rustc_macros/src')
| -rw-r--r-- | compiler/rustc_macros/src/diagnostics/fluent.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_macros/src/diagnostics/fluent.rs b/compiler/rustc_macros/src/diagnostics/fluent.rs index 493ec5a9944..607d51f5608 100644 --- a/compiler/rustc_macros/src/diagnostics/fluent.rs +++ b/compiler/rustc_macros/src/diagnostics/fluent.rs @@ -100,7 +100,7 @@ pub(crate) fn fluent_messages(input: proc_macro::TokenStream) -> proc_macro::Tok Diagnostic::spanned( resource_span, Level::Error, - format!("could not open Fluent resource: {}", e), + format!("could not open Fluent resource: {e}"), ) .emit(); return failed(&crate_name); |
