diff options
| author | Miguel Guarniz <mi9uel9@gmail.com> | 2022-04-03 15:50:33 -0400 | 
|---|---|---|
| committer | Miguel Guarniz <mi9uel9@gmail.com> | 2022-04-08 11:59:59 -0400 | 
| commit | b73b4de982a16e8819e804cb648ff3ea63d22028 (patch) | |
| tree | bbf7b76b289b1f76aa31df21f870c9af8d6258c1 /compiler/rustc_metadata | |
| parent | 6a9080b25e73d26aae94c3f6a13b31de58e66b5a (diff) | |
| download | rust-b73b4de982a16e8819e804cb648ff3ea63d22028.tar.gz rust-b73b4de982a16e8819e804cb648ff3ea63d22028.zip | |
Refactor HIR item-like traversal (part 1)
- 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 - add par_items(impl Fn(hir::ItemId)) to traverse all items in parallel Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com>
Diffstat (limited to 'compiler/rustc_metadata')
0 files changed, 0 insertions, 0 deletions
