about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/debug.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-01-30 01:02:18 +0000
committerbors <bors@rust-lang.org>2021-01-30 01:02:18 +0000
commit4b806878549990d2ad2aa3c265751d3d89947cdf (patch)
tree556ad30a9c7c9720cc1bf8c8bd03464bc179aafd /compiler/rustc_mir/src/transform/coverage/debug.rs
parentc6bc46227ab57a844fc7a9ed3a6c9efb35c725a9 (diff)
downloadrust-4b806878549990d2ad2aa3c265751d3d89947cdf.tar.gz
rust-4b806878549990d2ad2aa3c265751d3d89947cdf.zip
rustdoc tweaking
* Reuse memory
* simplify `next_def_id`, avoid multiple hashing and unnecessary lookups
* remove `all_fake_def_ids`, use the global map instead (probably not a good step toward parallelization, though...)
* convert `add_deref_target` to iterative implementation
* use `ArrayVec` where we know the max number of elements
* minor touchups here and there
* avoid building temporary vectors that get appended to other vectors

At most places I may or may not be doing the compiler's job is this PR.
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions