mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
hir is cancelation free
This commit is contained in:
parent
8ba9c2d4ce
commit
02c3d2f78e
3 changed files with 6 additions and 12 deletions
|
@ -180,7 +180,7 @@ impl db::RootDatabase {
|
|||
})
|
||||
.collect::<Vec<_>>();
|
||||
if let Some(m) = source_binder::module_from_file_id(self, file_id) {
|
||||
for (name_node, problem) in m.problems(self)? {
|
||||
for (name_node, problem) in m.problems(self) {
|
||||
let source_root = self.file_source_root(file_id);
|
||||
let diag = match problem {
|
||||
Problem::UnresolvedModule { candidate } => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue