]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-3539.rs
Merge commit 'e36a20c24f35a4cee82bbdc600289104c9237c22' into ra-sync-and-pms-component
[rust.git] / src / tools / rustfmt / tests / target / issue-3539.rs
1 use std::io::Error;
2
3 fn main() {
4     let _read_num: fn() -> Result<(i32), Error> = || -> Result<(i32), Error> {
5         let a = 1;
6         Ok(a)
7     };
8 }