about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-slice-array.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-03-07 10:30:08 +0000
committerbors <bors@rust-lang.org>2024-03-07 10:30:08 +0000
commita1fda6476ca43a3a76e7280e5810ac5251f42efc (patch)
treec60c9a505213844e005d0585d84ae362e6f4932f /tests/rustdoc-js-std/parser-slice-array.js
parent00f6a7aced8252492c0d4e5a4ca3e6da8c7bf378 (diff)
parent9c50d129dafe19ecf294fe0862a68e7c39687288 (diff)
downloadrust-a1fda6476ca43a3a76e7280e5810ac5251f42efc.tar.gz
rust-a1fda6476ca43a3a76e7280e5810ac5251f42efc.zip
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.
Diffstat (limited to 'tests/rustdoc-js-std/parser-slice-array.js')
0 files changed, 0 insertions, 0 deletions