mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
internal: Refactor our record pat/expr handling in completion context
This commit is contained in:
parent
697ade6f8d
commit
6a8b8a6039
9 changed files with 151 additions and 125 deletions
|
@ -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
|
||||
"#]],
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue