mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Replace SourceRootCrates hashset output with slice for deterministic order
This commit is contained in:
parent
e5a1118265
commit
4d3a0dc329
5 changed files with 12 additions and 12 deletions
|
@ -165,6 +165,7 @@ impl<'a> SymbolCollector<'a> {
|
|||
// Record renamed imports.
|
||||
// FIXME: In case it imports multiple items under different namespaces we just pick one arbitrarily
|
||||
// for now.
|
||||
// FIXME: This parses!
|
||||
for id in scope.imports() {
|
||||
let source = id.import.child_source(self.db.upcast());
|
||||
let Some(use_tree_src) = source.value.get(id.idx) else { continue };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue