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(())
};
}