mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Initial implementation of generics for method calls
This commit is contained in:
parent
3bd47c0285
commit
67e40e431a
2 changed files with 72 additions and 13 deletions
|
@ -424,6 +424,10 @@ impl Function {
|
|||
self.id.module(db)
|
||||
}
|
||||
|
||||
pub fn name(&self, db: &impl HirDatabase) -> Name {
|
||||
self.signature(db).name.clone()
|
||||
}
|
||||
|
||||
pub fn body_syntax_mapping(&self, db: &impl HirDatabase) -> Arc<BodySyntaxMapping> {
|
||||
db.body_syntax_mapping(*self)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue