rust/crates/rust-analyzer
bors a1fda6476c Auto merge of #16742 - alibektas:13529/source_root_tree, r=Veykril
internal: Implement parent-child relation for `SourceRoot`s

This commit adds the said relation by keeping a map of type `FxHashMap<SourceRootId,Option<SourceRootId>>` inside the `GlobalState`. Its primary use case is reading `rust-analyzer.toml`(#13529)  files that can be placed in every local source root. As a config will be found by traversing this "tree" we need the parent information for every local source root. This commit omits defining this relation for library source roots entirely.
2024-03-07 10:30:08 +00:00
..
src Auto merge of #16742 - alibektas:13529/source_root_tree, r=Veykril 2024-03-07 10:30:08 +00:00
tests minor: fix typo 2024-02-19 18:12:08 +08:00
build.rs
Cargo.toml Move diagnostics docs generation into xtask/codegen 2024-03-04 17:14:14 +01:00