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-24 17:13:24 +0000
committerbors <bors@rust-lang.org>2023-07-24 17:13:24 +0000
commitfc8a3e357a0a5e317132e5ff8858ec70970fb07a (patch)
tree580bec5e4e8f3a06d715c16685340b9c49c9224c /compiler/rustc_errors/src/lib.rs
parentcb6ab9516bbbd3859b56dd23e32fe41600e0ae02 (diff)
parenta5164252adf9befc80e51e46bcfe2b55b8d439d2 (diff)
downloadrust-fc8a3e357a0a5e317132e5ff8858ec70970fb07a.tar.gz
rust-fc8a3e357a0a5e317132e5ff8858ec70970fb07a.zip
Auto merge of #114024 - matthiaskrgr:rollup-uhdbq64, r=matthiaskrgr
Rollup of 8 pull requests

Successful merges:

 - #113969 (add dynamic for smir)
 - #113985 (Use erased self type when autoderefing for trait error suggestion)
 - #113987 (Comment stuff in the new solver)
 - #113992 (arm-none fixups)
 - #113993 (Optimize format usage)
 - #113994 (Optimize format usage)
 - #114006 (Update sparc-unknown-none-elf platform README)
 - #114021 (Add missing documentation for `Session::time`)

r? `@ghost`
`@rustbot` modify labels: rollup
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}"));
             }
         }