about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-01-24 12:08:51 +0000
committerbors <bors@rust-lang.org>2023-01-24 12:08:51 +0000
commit86f73a00815274f003cd03f819070d010a5d3aad (patch)
tree81aede515fd002bb5ff681782b416eb81154a30d /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.diff
parente46c242a38396c5dd1cb85b5002ca17f83c4c1b7 (diff)
parente9f14c505f4a87e67bf3e2f0c743a5e25119b367 (diff)
downloadrust-86f73a00815274f003cd03f819070d010a5d3aad.tar.gz
rust-86f73a00815274f003cd03f819070d010a5d3aad.zip
Auto merge of #14017 - lowr:patch/remove-type-walk, r=Veykril
internal: remove `TypeWalk`

Because less code is better!

`hir_ty::TypeWalk` is only used in analysis-stats and its usage can be replaced by checking `TypeFlags` (which is precomputed upon `TyKind` interning so it should make analysis-stats a bit faster, though it was really negligible in my local environment).

We should just use chalk's `TypeVisitor` or `TypeFolder` instead even if we come to need it again.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions