internal: Refactor our record pat/expr handling in completion context

This commit is contained in:
Lukas Wirth 2022-05-24 13:24:36 +02:00
parent 697ade6f8d
commit 6a8b8a6039
9 changed files with 151 additions and 125 deletions

View file

@ -338,7 +338,10 @@ struct Foo { bar: Bar }
struct Bar(u32);
fn outer(Foo { bar$0 }: Foo) {}
"#,
expect![[r#""#]],
expect![[r#"
kw mut
kw ref
"#]],
)
}