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), }