about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-04-17 08:06:53 +0000
committerbors <bors@rust-lang.org>2022-04-17 08:06:53 +0000
commitcc25cbd24341d9e96c03756c09e841d504f6f4ef (patch)
tree594dea171c12bd8eefb7cc9f247e53c2bd8641d9 /tests/rustdoc-js-std/parser-errors.js
parent5cf2920ef30457067bc024afa6499f7e15014bba (diff)
parent3363a62068a5e8babb0dd9521207ead4bef90cac (diff)
downloadrust-cc25cbd24341d9e96c03756c09e841d504f6f4ef.tar.gz
rust-cc25cbd24341d9e96c03756c09e841d504f6f4ef.zip
Auto merge of #95655 - kckeiks:create-hir-crate-items-query, r=cjgillot
Refactor HIR item-like traversal (part 1)

Issue  #95004

- Create hir_crate_items query which traverses tcx.hir_crate(()).owners to return a hir::ModuleItems
- use tcx.hir_crate_items in tcx.hir().items() to return an iterator of hir::ItemId
- use tcx.hir_crate_items to introduce a tcx.hir().par_items(impl Fn(hir::ItemId)) to traverse all items in parallel;

Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com>

cc `@cjgillot`
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions