about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
diff options
context:
space:
mode:
authorJhonny Bill Mena <jhonnybillm@gmail.com>2022-10-30 15:38:37 -0400
committerJhonny Bill Mena <jhonnybillm@gmail.com>2022-11-04 01:17:02 -0400
commit4c80f50fc6dce4e35eebe1beaadd5fc3ecfe6f52 (patch)
treea967a73204feb63b25c27c40971ed00cd1680665 /compiler/rustc_errors/src
parent6718ea1cff98da785c10079cac1c1ecc30c12d52 (diff)
downloadrust-4c80f50fc6dce4e35eebe1beaadd5fc3ecfe6f52.tar.gz
rust-4c80f50fc6dce4e35eebe1beaadd5fc3ecfe6f52.zip
UPDATE - Complete link.rs migration to new diagnostics infraestructure
Diffstat (limited to 'compiler/rustc_errors/src')
-rw-r--r--compiler/rustc_errors/src/diagnostic_impls.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/diagnostic_impls.rs b/compiler/rustc_errors/src/diagnostic_impls.rs
index 7640b2919f7..4f32e236b2d 100644
--- a/compiler/rustc_errors/src/diagnostic_impls.rs
+++ b/compiler/rustc_errors/src/diagnostic_impls.rs
@@ -13,6 +13,7 @@ use std::borrow::Cow;
 use std::fmt;
 use std::num::ParseIntError;
 use std::path::{Path, PathBuf};
+use std::process::ExitStatus;
 
 pub struct DiagnosticArgFromDisplay<'a>(pub &'a dyn fmt::Display);
 
@@ -66,7 +67,8 @@ into_diagnostic_arg_using_display!(
     ParseIntError,
     StackProtector,
     &TargetTriple,
-    SplitDebuginfo
+    SplitDebuginfo,
+    ExitStatus,
 );
 
 impl IntoDiagnosticArg for bool {