Esteban Küber
|
4e524386e9
|
Always emit help when failing to parse enum variant
|
2023-11-29 18:47:32 +00:00 |
|
Esteban Küber
|
147faa54d5
|
Fix tidy
|
2023-11-29 18:47:32 +00:00 |
|
Esteban Küber
|
bd1feb8cef
|
Fix test and move to more appropriate directory
|
2023-11-29 18:47:32 +00:00 |
|
Esteban Küber
|
0ff331bc78
|
Change how for (x in foo) {} is handled
Use the same approach used for match arm patterns.
|
2023-11-29 18:47:32 +00:00 |
|
Esteban Küber
|
c47318983b
|
Account for (pat if expr) => {}
When encountering match arm (pat if expr) => {}, recover and suggest removing parentheses. Fix #100825.
|
2023-11-29 18:47:32 +00:00 |
|
Esteban Küber
|
db39068ad7
|
Change enum parse recovery
|
2023-11-29 18:47:31 +00:00 |
|
Esteban Küber
|
1994abed74
|
Bubble parse error when expecting )
|
2023-11-29 18:47:31 +00:00 |
|
Esteban Küber
|
075c599188
|
More accurate span for unnecessary parens suggestion
|
2023-11-29 18:47:31 +00:00 |
|
Esteban Küber
|
44fd3b4d46
|
Make parse_pat_ident not recover bad name
|
2023-11-29 18:47:31 +00:00 |
|
Nilstrieb
|
41e8d152dc
|
Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
|
2023-11-24 19:15:52 +01:00 |
|
Esteban Küber
|
099eb40932
|
Fix code indentation
|
2023-11-16 21:54:04 +00:00 |
|
Esteban Küber
|
8e7d0702a2
|
Add test for parens around match arm pattern and condition
|
2023-11-16 16:58:41 +00:00 |
|
Esteban Küber
|
ae20897b30
|
Move tests to subdirectory
|
2023-11-16 16:58:41 +00:00 |
|