[parallel-queries] Make CrateMetadata::cnum_map immutable #50502
Closed
Description
The CrateMetadata::cnum_map field is wrapped in a Lock
but it does not seem to be mutated anywhere. Less mutable state is always better. To solve this task, remove the Lock
and make things compile again.
cc @rust-lang/wg-compiler-performance