We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
tests/ui/process/issue-14456.rs
1 parent b617aae commit c7c1e4dCopy full SHA for c7c1e4d
tests/ui/process/issue-14456.rs
@@ -1,7 +1,5 @@
1
//@ run-pass
2
-#![allow(unused_mut)]
3
-//@ ignore-wasm32 no processes
4
-//@ ignore-sgx no processes
+//@ needs-subprocess
5
6
use std::env;
7
use std::io::prelude::*;
@@ -20,7 +18,7 @@ fn main() {
20
18
fn child() {
21
19
writeln!(&mut io::stdout(), "foo").unwrap();
22
writeln!(&mut io::stderr(), "bar").unwrap();
23
- let mut stdin = io::stdin();
+ let stdin = io::stdin();
24
let mut s = String::new();
25
stdin.lock().read_line(&mut s).unwrap();
26
assert_eq!(s.len(), 0);
0 commit comments