diff options
Diffstat (limited to 'crates/syntax/test_data/parser/err/0039_lambda_recovery.rs')
-rw-r--r-- | crates/syntax/test_data/parser/err/0039_lambda_recovery.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/syntax/test_data/parser/err/0039_lambda_recovery.rs b/crates/syntax/test_data/parser/err/0039_lambda_recovery.rs new file mode 100644 index 000000000..a2f74bd87 --- /dev/null +++ b/crates/syntax/test_data/parser/err/0039_lambda_recovery.rs | |||
@@ -0,0 +1,5 @@ | |||
1 | fn foo() -> i32 { | ||
2 | [1, 2, 3].iter() | ||
3 | .map(|it|) | ||
4 | .max::<i32>(); | ||
5 | } | ||