mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Bump chalk
This commit is contained in:
parent
e687e53695
commit
32b6f103a6
32 changed files with 602 additions and 620 deletions
|
@ -821,7 +821,7 @@ impl<'db> SemanticsImpl<'db> {
|
|||
|
||||
fn resolve_method_call_as_callable(&self, call: &ast::MethodCallExpr) -> Option<Callable> {
|
||||
let (func, subst) = self.analyze(call.syntax()).resolve_method_call(self.db, call)?;
|
||||
let ty = self.db.value_ty(func.into()).substitute(&Interner, &subst);
|
||||
let ty = self.db.value_ty(func.into()).substitute(Interner, &subst);
|
||||
let resolver = self.analyze(call.syntax()).resolver;
|
||||
let ty = Type::new_with_resolver(self.db, &resolver, ty)?;
|
||||
let mut res = ty.as_callable(self.db)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue