mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-30 12:07:40 +00:00
![]() 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. |
||
---|---|---|
.. | ||
test_macros | ||
counters.rs | ||
debug.rs | ||
graph.rs | ||
mod.rs | ||
query.rs | ||
spans.rs | ||
tests.rs |