remove Cancelable from type inference

This commit is contained in:
Aleksey Kladov 2019-01-15 20:54:18 +03:00
parent b871062e32
commit 8ba9c2d4ce
9 changed files with 88 additions and 119 deletions

View file

@ -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)
}
}