Sign in
fuchsia
/
third_party
/
rust
/
11a0b968c287c81680387ffcf112328d52d7e815
/
.
/
src
/
test
/
ui
/
inference
/
cannot-infer-closure.rs
blob: 8f48483c254218a66f9fcd4afe6cce7e919faf8e [
file
] [
log
] [
blame
]
fn
main
()
{
let
x
=
|
a
:
(),
b
:
()|
{
Err
(
a
)?;
//~ ERROR type annotations needed for the closure
Ok
(
b
)
};
}