Sign in
fuchsia
/
third_party
/
rust
/
11a0b968c287c81680387ffcf112328d52d7e815
/
.
/
src
/
test
/
ui
/
inference
/
cannot-infer-async.rs
blob: 05f62f3d8cbc0aa4a4bda6647dff130335a26ed8 [
file
] [
log
] [
blame
]
// edition:2018
use
std
::
io
::
Error
;
fn
make_unit
()
->
Result
<(),
Error
>
{
Ok
(())
}
fn
main
()
{
let
fut
=
async
{
make_unit
()?;
//~ ERROR type annotations needed
Ok
(())
};
}