mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Implement basic completion for fields
This commit is contained in:
parent
0d724ea572
commit
ab0b63992b
10 changed files with 156 additions and 12 deletions
|
@ -2030,6 +2030,10 @@ impl<'a> MethodCallExpr<'a> {
|
|||
pub fn expr(self) -> Option<Expr<'a>> {
|
||||
super::child_opt(self)
|
||||
}
|
||||
|
||||
pub fn name_ref(self) -> Option<NameRef<'a>> {
|
||||
super::child_opt(self)
|
||||
}
|
||||
}
|
||||
|
||||
// Module
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue