rust/tests/data/parser/inline/0066_lambda_expr.rs
Aleksey Kladov b9189ed2db move lambdas
2018-08-01 00:30:17 +03:00

7 lines
79 B
Rust

fn foo() {
|| ();
|| -> i32 { 92 };
|x| x;
move |x: i32,| x;
}