mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
fix: Fix ast::IfExpr child accessors
This commit is contained in:
parent
1787c14e72
commit
9fe206956f
3 changed files with 21 additions and 21 deletions
|
@ -636,9 +636,8 @@ fn foo() {
|
|||
if {}
|
||||
}
|
||||
"#,
|
||||
// the {} gets parsed as the condition, I think?
|
||||
expect![[r#"
|
||||
fn foo () {if {} {}}
|
||||
fn foo () {if __ra_fixup {} {}}
|
||||
"#]],
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue