From d82a21ab202b2f5e8c96847802d806735ec74ad3 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 31 Jul 2018 23:13:08 +0300 Subject: lambda expressions --- tests/data/parser/inline/0063_lambda_expr.rs | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/data/parser/inline/0063_lambda_expr.rs (limited to 'tests/data/parser/inline/0063_lambda_expr.rs') diff --git a/tests/data/parser/inline/0063_lambda_expr.rs b/tests/data/parser/inline/0063_lambda_expr.rs new file mode 100644 index 000000000..3c30a9209 --- /dev/null +++ b/tests/data/parser/inline/0063_lambda_expr.rs @@ -0,0 +1,6 @@ +fn foo() { + || (); + || -> i32 { 92 }; + |x| x; + |x: i32,| x; +} -- cgit v1.2.3