mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 11:59:49 +00:00
Record method call substs and use them in call info
This commit is contained in:
parent
96e5412f88
commit
4a6cdd776d
9 changed files with 125 additions and 45 deletions
|
@ -143,7 +143,7 @@ impl SourceAnalyzer {
|
|||
&self,
|
||||
db: &dyn HirDatabase,
|
||||
call: &ast::MethodCallExpr,
|
||||
) -> Option<FunctionId> {
|
||||
) -> Option<(FunctionId, Substitution)> {
|
||||
let expr_id = self.expr_id(db, &call.clone().into())?;
|
||||
self.infer.as_ref()?.method_resolution(expr_id)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue