diff options
| author | bors <bors@rust-lang.org> | 2022-02-15 11:59:37 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-02-15 11:59:37 +0000 |
| commit | 55697574915ca58c3fcd7b1c854c1c93e002dc85 (patch) | |
| tree | 43f8669ead4f7dbe2812b96a39d1d52bffc62e62 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 6421a499a50adbaa7b5d0234bdd4817d970f0933 (diff) | |
| parent | 80632de4a1f9d1c0dfe16170fc079e940f42776a (diff) | |
| download | rust-55697574915ca58c3fcd7b1c854c1c93e002dc85.tar.gz rust-55697574915ca58c3fcd7b1c854c1c93e002dc85.zip | |
Auto merge of #93148 - nnethercote:Uniq, r=fee1-dead
Overhaul interning. A number of types are interned and `eq` and `hash` are implemented on the pointer rather than the contents. But this is not well enforced within the type system like you might expect. This PR introduces a new type `Interned` which encapsulates this concept more rigorously, and uses it to convert a couple of the less common interned types. r? `@fee1-dead`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
