rust/tests/target/issue-3539.rs

9 lines
154 B
Rust
Raw Normal View History

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