mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 03:07:25 +00:00

It currently uses ranges, which index into `UsageMap::used_items`. This commit changes it to just use `Vec`, which is much simpler to construct and use. This change does result in more allocations, but it is few enough that the perf impact is negligible.