rust/tests/ui/expr/malformed_closure
Esteban Küber 6b2c6c7fd3 Detect ruby-style closure in parser
When parsing a closure without a body that is surrounded by a block,
suggest moving the opening brace after the closure head.

Fix #116608.
2023-10-12 21:50:18 +00:00
..
missing_block_in_fn_call.fixed
missing_block_in_fn_call.rs
missing_block_in_fn_call.stderr
missing_block_in_let_binding.rs
missing_block_in_let_binding.stderr
missing_braces_around_block.fixed
missing_braces_around_block.rs
missing_braces_around_block.stderr
ruby_style_closure_parse_error.fixed
ruby_style_closure_parse_error.rs
ruby_style_closure_parse_error.stderr
ruby_style_closure.rs
ruby_style_closure.stderr