rust/compiler/rustc_mir_transform/src/coverage
Matthias Krüger d182081de1
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.
2022-08-29 06:34:43 +02:00
..
test_macros Migrate to 2021 2021-09-20 22:21:42 -04:00
counters.rs Replace &Vec<_>s with &[_]s 2022-06-03 20:42:42 +04:00
debug.rs Move/rename lazy::Sync{OnceCell,Lazy} to sync::{Once,Lazy}Lock 2022-06-16 19:54:42 +04:00
graph.rs Replace Body::basic_blocks() with field access 2022-08-26 14:27:08 +02:00
mod.rs Rollup merge of #99027 - tmiasko:basic-blocks, r=oli-obk 2022-08-29 06:34:43 +02:00
query.rs Replace Body::basic_blocks() with field access 2022-08-26 14:27:08 +02:00
spans.rs Make MIR basic blocks field public 2022-07-07 08:11:49 +02:00
tests.rs Replace Body::basic_blocks() with field access 2022-08-26 14:27:08 +02:00