internal: Assume condition/iterable is missing if there is only a BlockExpr

This commit is contained in:
Lukas Wirth 2022-07-27 17:14:50 +02:00
parent b4d652aa40
commit bf893d59b5
3 changed files with 40 additions and 4 deletions

View file

@ -682,6 +682,8 @@ fn lower_rule(acc: &mut Vec<Field>, grammar: &Grammar, label: Option<&String>, r
| "value"
| "trait"
| "self_ty"
| "iterable"
| "condition"
);
if manually_implemented {
return;