about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
diff options
context:
space:
mode:
authorMiguel Guarniz <mi9uel9@gmail.com>2022-04-03 15:50:33 -0400
committerMiguel Guarniz <mi9uel9@gmail.com>2022-04-08 11:59:59 -0400
commit224916823a709cb16b77e8582c8433dc728ecc6c (patch)
tree4ed4a95fe7e81f57b8f7a8674e63abb048e2dc67 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
parentbb5b250fa15780dd80e025c3e7991609d996badc (diff)
downloadrust-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