mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
Update salsa
This commit is contained in:
parent
d0a4ba294c
commit
33debc4065
16 changed files with 94 additions and 189 deletions
|
@ -119,7 +119,7 @@ impl<'a> InferenceContext<'a> {
|
|||
}
|
||||
|
||||
fn infer_expr_inner(&mut self, tgt_expr: ExprId, expected: &Expectation) -> Ty {
|
||||
self.db.check_canceled();
|
||||
self.db.unwind_if_cancelled();
|
||||
|
||||
let body = Arc::clone(&self.body); // avoid borrow checker problem
|
||||
let ty = match &body[tgt_expr] {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue