mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
internal: Assume condition/iterable is missing if there is only a BlockExpr
This commit is contained in:
parent
b4d652aa40
commit
bf893d59b5
3 changed files with 40 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue