about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src/intern
AgeCommit message (Collapse)AuthorLines
2023-12-10remove redundant importssurechen-1/+0
detects redundant imports that can be eliminated. for #117772 : In order to facilitate review and modification, split the checking code and removing redundant imports code into two PR.
2022-02-15Rename `PtrKey` as `Interned` and improve it.Nicholas Nethercote-0/+59
In particular, there's now more protection against incorrect usage, because you can only create one via `Interned::new_unchecked`, which makes it more obvious that you must be careful. There are also some tests.