File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -217,6 +217,8 @@ disallowed for programmer clarity so as to avoid `... else {} else {}` situation
217
217
Boolean matches are not useful with let-else and so lazy boolean expressions are disallowed for reasons noted in [ future-possibilities] [ ] .
218
218
These types of expressions can still be used when combined in a less ambiguous manner with parenthesis,
219
219
which is allowed under the two expression restrictions.
220
+ Invisible groupings from macros expansions are also allowed, however macro expansion representations to humans should include parenthesis
221
+ around the expression output in this position if it ends in a ` } ` where possible (or otherwise show the invisible grouping).
220
222
221
223
Any refutable pattern that could be put into if-let's pattern position can be put into let-else's pattern position.
222
224
You can’t perform that action at this time.
0 commit comments