about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/lib.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-07-26 09:09:06 +0000
committerbors <bors@rust-lang.org>2023-07-26 09:09:06 +0000
commit6ac86bb19f9102a1f887afde3395d066db62d743 (patch)
treefabbf8fc4dabec565022821957385793eb17bd94 /compiler/rustc_errors/src/lib.rs
parentcba1df1b666ba3ec0a02188d4fa3332aaab31296 (diff)
parent38665a12be721cb19a745bdbde6afd5c058d2b20 (diff)
downloadrust-6ac86bb19f9102a1f887afde3395d066db62d743.tar.gz
rust-6ac86bb19f9102a1f887afde3395d066db62d743.zip
Auto merge of #2991 - rust-lang:rustup-2023-07-26, r=RalfJung
Automatic sync from rustc
Diffstat (limited to 'compiler/rustc_errors/src/lib.rs')
-rw-r--r--compiler/rustc_errors/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/lib.rs b/compiler/rustc_errors/src/lib.rs
index 1da02e1bb01..eae7a46e07a 100644
--- a/compiler/rustc_errors/src/lib.rs
+++ b/compiler/rustc_errors/src/lib.rs
@@ -1485,7 +1485,7 @@ impl HandlerInner {
                 let _ = self.fatal(errors);
             }
             (_, _) => {
-                let _ = self.fatal(format!("{}; {}", &errors, &warnings));
+                let _ = self.fatal(format!("{errors}; {warnings}"));
             }
         }