rust/tests/target/issue-3539.rs
2019-05-06 00:01:13 +09:00

9 lines
154 B
Rust

use std::io::Error;
fn main() {
let _read_num: fn() -> Result<(i32), Error> = || -> Result<(i32), Error> {
let a = 1;
Ok(a)
};
}