mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
remove Cancelable from module_tree_query
This commit is contained in:
parent
443ff27724
commit
68ff52566d
6 changed files with 28 additions and 31 deletions
|
@ -25,7 +25,7 @@ impl Crate {
|
|||
let file_id = crate_graph.crate_root(self.crate_id);
|
||||
let source_root_id = db.file_source_root(file_id);
|
||||
let file_id = HirFileId::from(file_id);
|
||||
let module_tree = db.module_tree(source_root_id)?;
|
||||
let module_tree = db.module_tree(source_root_id);
|
||||
// FIXME: teach module tree about crate roots instead of guessing
|
||||
let source = SourceItemId {
|
||||
file_id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue