about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-04-09 13:44:53 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-04-09 13:44:53 +0000
commitb4a395bcce38cc92bd84306bb8c494bef4ad24e7 (patch)
tree39baa1e841f9738aa764280820dd374ebae44e65
parentbbd82ff44e00d5e12949b465098d646f515ce715 (diff)
downloadrust-b4a395bcce38cc92bd84306bb8c494bef4ad24e7.tar.gz
rust-b4a395bcce38cc92bd84306bb8c494bef4ad24e7.zip
Fix dead code warning
-rw-r--r--library/std/src/sys/pal/unsupported/process.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/sys/pal/unsupported/process.rs b/library/std/src/sys/pal/unsupported/process.rs
index 818a92488ac..2445d9073db 100644
--- a/library/std/src/sys/pal/unsupported/process.rs
+++ b/library/std/src/sys/pal/unsupported/process.rs
@@ -40,6 +40,7 @@ pub enum Stdio {
     MakePipe,
     ParentStdout,
     ParentStderr,
+    #[allow(dead_code)] // This variant exists only for the Debug impl
     InheritFile(File),
 }