yukang
22aa104bce
don't suggest turning crate-level attributes into outer style
2024-08-04 00:11:16 +08:00
Esteban Küber
692bc344d5
Make parse error suggestions verbose and fix spans
...
Go over all structured parser suggestions and make them verbose style.
When suggesting to add or remove delimiters, turn them into multiple suggestion parts.
2024-07-12 03:02:57 +00:00
Nicholas Nethercote
aaa220e875
Move parse_or_use_outer_attributes out of parse_expr_prefix_range.
...
This eliminates another `Option<AttrWrapper>` argument and changes one
obscure error message.
2024-06-19 19:12:00 +10:00
Lieselotte
7d6cd6bf1f
Don't expect bodyless arms if the pattern can never be a never pattern
2023-12-28 15:02:17 +01:00
Nadrieril
80bdcbf50a
Parse a pattern with no arm
2023-12-03 12:25:46 +01:00
Esteban Küber
5c17b8be61
Move some tests around
2023-10-09 19:24:05 +00:00