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 Detect ruby-style closure in parser 2023-10-12 21:50:18 +00:00
missing_block_in_fn_call.rs Detect ruby-style closure in parser 2023-10-12 21:50:18 +00:00
missing_block_in_fn_call.stderr Detect ruby-style closure in parser 2023-10-12 21:50:18 +00:00
missing_block_in_let_binding.rs Detect ruby-style closure in parser 2023-10-12 21:50:18 +00:00
missing_block_in_let_binding.stderr Detect ruby-style closure in parser 2023-10-12 21:50:18 +00:00
missing_braces_around_block.fixed parser: provide better errors on closures with braces missing 2023-02-23 19:05:13 +09:00
missing_braces_around_block.rs parser: provide better errors on closures with braces missing 2023-02-23 19:05:13 +09:00
missing_braces_around_block.stderr parser: provide better errors on closures with braces missing 2023-02-23 19:05:13 +09:00
ruby_style_closure_parse_error.fixed Detect ruby-style closure in parser 2023-10-12 21:50:18 +00:00
ruby_style_closure_parse_error.rs Detect ruby-style closure in parser 2023-10-12 21:50:18 +00:00
ruby_style_closure_parse_error.stderr Detect ruby-style closure in parser 2023-10-12 21:50:18 +00:00
ruby_style_closure.rs
ruby_style_closure.stderr