about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-09-15 12:34:31 +0000
committerbors <bors@rust-lang.org>2021-09-15 12:34:31 +0000
commit2c7bc5e33c25e29058cbafefe680da8d5e9220e9 (patch)
treeaac5c14d47fc781a748b72a525b80f26d557c978 /compiler/rustc_parse/src
parente846f9c44f1e17cac66d7b75e2ca099c87a2dfcb (diff)
parent8c7840e8cb700870854efa02cca817c7dd610698 (diff)
downloadrust-2c7bc5e33c25e29058cbafefe680da8d5e9220e9.tar.gz
rust-2c7bc5e33c25e29058cbafefe680da8d5e9220e9.zip
Auto merge of #87867 - bjorn3:unique_type_id_interner, r=wesleywiser
Use a separate interner type for UniqueTypeId

Using symbol::Interner makes it very easy to mixup UniqueTypeId symbols
with the global interner. In fact the Debug implementation of
UniqueTypeId did exactly this.

Using a separate interner type also avoids prefilling the interner with
unused symbols and allow for optimizing the symbol interner for parallel
access without negatively affecting the single threaded module codegen.
Diffstat (limited to 'compiler/rustc_parse/src')
0 files changed, 0 insertions, 0 deletions