hir is cancelation free
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
use std::sync::Arc;
|
||||
|
||||
use relative_path::RelativePathBuf;
|
||||
use ra_db::{CrateId, Cancelable, FileId};
|
||||
use ra_db::{CrateId, FileId};
|
||||
use ra_syntax::{ast, TreeArc, SyntaxNode};
|
||||
|
||||
use crate::{
|
||||
@@ -142,10 +142,7 @@ impl Module {
|
||||
self.resolve_path_impl(db, path)
|
||||
}
|
||||
|
||||
pub fn problems(
|
||||
&self,
|
||||
db: &impl HirDatabase,
|
||||
) -> Cancelable<Vec<(TreeArc<SyntaxNode>, Problem)>> {
|
||||
pub fn problems(&self, db: &impl HirDatabase) -> Vec<(TreeArc<SyntaxNode>, Problem)> {
|
||||
self.problems_impl(db)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user