diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-08-29 06:34:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-29 06:34:43 +0200 |
| commit | 663b8949b79fd28ed0e96e485ef2ca682bf5802a (patch) | |
| tree | 731c603a172873eabe56c47615e7dc09fec8a548 /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.diff | |
| parent | f48af912ea9a9726ff851a3e4a809e1d2daeb0ba (diff) | |
| parent | 1071c4c10bb24f12b65bfface2859c1fd8898575 (diff) | |
| download | rust-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
