Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
type-inference
/
or_else-multiple-type-params.rs
blob: b15de2a4559d5b030c317a52afc22218736bbb2f [
file
] [
log
] [
blame
]
use
std
::
process
::{
Command
,
Stdio
};
fn
main
()
{
let
process
=
Command
::
new
(
"wc"
)
.
stdout
(
Stdio
::
piped
())
.
spawn
()
.
or_else
(|
err
|
{
//~ ERROR type annotations needed
panic
!(
"oh no: {:?}"
,
err
);
}).
unwrap
();
}