about summary refs log tree commit diff
path: root/compiler/rustc_errors
diff options
context:
space:
mode:
authorSLASHLogin <loginmlgxd@gmail.com>2022-11-03 13:41:54 +0100
committerSLASHLogin <loginmlgxd@gmail.com>2022-11-09 14:56:21 +0100
commit0381e51822129ca1791cb59df72056fe023e7566 (patch)
tree4c8027ba3a9ff21130cc5dc5ff0d5a9257394259 /compiler/rustc_errors
parent3b949eb7c1eff22e89c4889e191d916ad028ff28 (diff)
downloadrust-0381e51822129ca1791cb59df72056fe023e7566.tar.gz
rust-0381e51822129ca1791cb59df72056fe023e7566.zip
Formatting
Diffstat (limited to 'compiler/rustc_errors')
-rw-r--r--compiler/rustc_errors/src/diagnostic.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/diagnostic.rs b/compiler/rustc_errors/src/diagnostic.rs
index 8c76db84392..b24814bfa38 100644
--- a/compiler/rustc_errors/src/diagnostic.rs
+++ b/compiler/rustc_errors/src/diagnostic.rs
@@ -940,7 +940,10 @@ impl Diagnostic {
         self
     }
 
-    pub fn replace_args(&mut self, args: FxHashMap<DiagnosticArgName<'static>, DiagnosticArgValue<'static>>) {
+    pub fn replace_args(
+        &mut self,
+        args: FxHashMap<DiagnosticArgName<'static>, DiagnosticArgValue<'static>>,
+    ) {
         self.args = args;
     }