mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
remove Cancelable from type inference
This commit is contained in:
parent
b871062e32
commit
8ba9c2d4ce
9 changed files with 88 additions and 119 deletions
|
@ -318,7 +318,7 @@ impl Function {
|
|||
db.fn_signature(self.def_id)
|
||||
}
|
||||
|
||||
pub fn infer(&self, db: &impl HirDatabase) -> Cancelable<Arc<InferenceResult>> {
|
||||
pub fn infer(&self, db: &impl HirDatabase) -> Arc<InferenceResult> {
|
||||
db.infer(self.def_id)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue