about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/diagnostic_impls.rs
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2025-02-25 17:27:22 +0000
committerEsteban Küber <esteban@kuber.com.ar>2025-02-25 17:27:22 +0000
commitc550bee64148a8f702f5fd18d4da75b93832c4df (patch)
tree35ff1fdd60bcd8086373fe580f43d835790295ef /compiler/rustc_errors/src/diagnostic_impls.rs
parenta4e89deb52eac24d857823f46a3f38b02178731a (diff)
downloadrust-c550bee64148a8f702f5fd18d4da75b93832c4df.tar.gz
rust-c550bee64148a8f702f5fd18d4da75b93832c4df.zip
Fix rebase
Diffstat (limited to 'compiler/rustc_errors/src/diagnostic_impls.rs')
-rw-r--r--compiler/rustc_errors/src/diagnostic_impls.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/diagnostic_impls.rs b/compiler/rustc_errors/src/diagnostic_impls.rs
index e0c8caf1317..cb2e1769fa1 100644
--- a/compiler/rustc_errors/src/diagnostic_impls.rs
+++ b/compiler/rustc_errors/src/diagnostic_impls.rs
@@ -98,7 +98,7 @@ into_diag_arg_using_display!(
 );
 
 impl IntoDiagArg for RustcVersion {
-    fn into_diag_arg(self) -> DiagArgValue {
+    fn into_diag_arg(self, _: &mut Option<std::path::PathBuf>) -> DiagArgValue {
         DiagArgValue::Str(Cow::Owned(self.to_string()))
     }
 }