diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-02-04 14:26:29 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-02-15 15:50:29 +1100 |
| commit | 0c2ebbd412362ce3e9f1cce099f72eabf92d6217 (patch) | |
| tree | d6afc689439a29266be7bc3d39411580a0432afd /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 028e57ba1dcb95481dee4744a101e75a13cc6482 (diff) | |
| download | rust-0c2ebbd412362ce3e9f1cce099f72eabf92d6217.tar.gz rust-0c2ebbd412362ce3e9f1cce099f72eabf92d6217.zip | |
Rename `PtrKey` as `Interned` and improve it.
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.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
