diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-07-27 06:04:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-27 06:04:13 +0200 |
| commit | fa21a8c6f87f2fb4ecf48282c9c8b3a341ea9985 (patch) | |
| tree | b2b374dc31844eec9185cd25d9b88500ff090f9c /compiler/rustc_hir_analysis/src/errors.rs | |
| parent | 14669cbb9a36df04f1aa254cd7b363b78195a3c5 (diff) | |
| parent | c64ef5e070ee7ae7fb73de2bec06fb7498a9af83 (diff) | |
| download | rust-fa21a8c6f87f2fb4ecf48282c9c8b3a341ea9985.tar.gz rust-fa21a8c6f87f2fb4ecf48282c9c8b3a341ea9985.zip | |
Rollup merge of #114075 - matthiaskrgr:fmt_args_rustc_3, r=wesleywiser
inline format!() args from rustc_codegen_llvm to the end (4) r? `@WaffleLapkin`
Diffstat (limited to 'compiler/rustc_hir_analysis/src/errors.rs')
| -rw-r--r-- | compiler/rustc_hir_analysis/src/errors.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir_analysis/src/errors.rs b/compiler/rustc_hir_analysis/src/errors.rs index c2d2e5f7e50..0babdf7e5b3 100644 --- a/compiler/rustc_hir_analysis/src/errors.rs +++ b/compiler/rustc_hir_analysis/src/errors.rs @@ -216,7 +216,7 @@ impl<'a> IntoDiagnostic<'a> for MissingTypeParams { "parameters", self.missing_type_params .iter() - .map(|n| format!("`{}`", n)) + .map(|n| format!("`{n}`")) .collect::<Vec<_>>() .join(", "), ); |
