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 | 224916823a709cb16b77e8582c8433dc728ecc6c (patch) | |
| tree | 4ed4a95fe7e81f57b8f7a8674e63abb048e2dc67 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs | |
| parent | bb5b250fa15780dd80e025c3e7991609d996badc (diff) | |
| download | rust-224916823a709cb16b77e8582c8433dc728ecc6c.tar.gz rust-224916823a709cb16b77e8582c8433dc728ecc6c.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 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions
