about summary refs log tree commit diff
path: root/library/std/src/sys/unix/process/mod.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-05-18 08:01:32 +0000
committerbors <bors@rust-lang.org>2021-05-18 08:01:32 +0000
commit25a277f03df7e44643ddfcc240d034409cb2f505 (patch)
treec4f00d62c473f44d09ccb147ead2775ce280628d /library/std/src/sys/unix/process/mod.rs
parent5f10d310f475b3ba583b9c590b8d19f6c2fde28f (diff)
parent26c782b8e7f939a00f889dfb3f1e969fc8f8c79d (diff)
downloadrust-25a277f03df7e44643ddfcc240d034409cb2f505.tar.gz
rust-25a277f03df7e44643ddfcc240d034409cb2f505.zip
Auto merge of #82973 - ijackson:exitstatuserror, r=yaahc
Provide ExitStatusError

Closes #73125

In MR #81452 "Add #[must_use] to [...] process::ExitStatus" we concluded that the existing arrangements in are too awkward so adding that `#[must_use]` is blocked on improving the ergonomics.

I wrote a mini-RFC-style discusion of the approach in https://github.com/rust-lang/rust/issues/73125#issuecomment-771092741
Diffstat (limited to 'library/std/src/sys/unix/process/mod.rs')
-rw-r--r--library/std/src/sys/unix/process/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/unix/process/mod.rs b/library/std/src/sys/unix/process/mod.rs
index f67c70c0177..b5a19ed54a2 100644
--- a/library/std/src/sys/unix/process/mod.rs
+++ b/library/std/src/sys/unix/process/mod.rs
@@ -1,5 +1,5 @@
 pub use self::process_common::{Command, CommandArgs, ExitCode, Stdio, StdioPipes};
-pub use self::process_inner::{ExitStatus, Process};
+pub use self::process_inner::{ExitStatus, ExitStatusError, Process};
 pub use crate::ffi::OsString as EnvKey;
 pub use crate::sys_common::process::CommandEnvs;