7 lines
121 B
Rust
7 lines
121 B
Rust
![]() |
fn main() {
|
||
|
let x = || {
|
||
|
Err(())?; //~ ERROR type annotations needed for the closure
|
||
|
Ok(())
|
||
|
};
|
||
|
}
|