about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-08-29 06:34:43 +0200
committerGitHub <noreply@github.com>2022-08-29 06:34:43 +0200
commit663b8949b79fd28ed0e96e485ef2ca682bf5802a (patch)
tree731c603a172873eabe56c47615e7dc09fec8a548 /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.diff
parentf48af912ea9a9726ff851a3e4a809e1d2daeb0ba (diff)
parent1071c4c10bb24f12b65bfface2859c1fd8898575 (diff)
downloadrust-663b8949b79fd28ed0e96e485ef2ca682bf5802a.tar.gz
rust-663b8949b79fd28ed0e96e485ef2ca682bf5802a.zip
Rollup merge of #99027 - tmiasko:basic-blocks, r=oli-obk
Replace `Body::basic_blocks()` with field access

Since the refactoring in #98930, it is possible to borrow the basic blocks
independently from other parts of MIR by accessing the `basic_blocks` field
directly.

Replace unnecessary `Body::basic_blocks()` method with a direct field access,
which has an additional benefit of borrowing the basic blocks only.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions