diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-01-21 13:25:26 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-01-21 14:38:43 +1100 |
| commit | d46ed5d3333770ac490d587878d708c3be17f137 (patch) | |
| tree | ca5a49864ef94b036dd8c482082ab447cb2d2251 /compiler/rustc_codegen_gcc/src | |
| parent | c55819ae606046e2a7b6b92c3f0821bd171f34b0 (diff) | |
| download | rust-d46ed5d3333770ac490d587878d708c3be17f137.tar.gz rust-d46ed5d3333770ac490d587878d708c3be17f137.zip | |
Clarify some code relating to interning and types.
I have found this code very confusing at times. This commit clarifies things. In particular, the commit explains the requirements that the `Borrow` impls put on the `Eq` and `Hash` impls, which are non-obvious. And it puts the `Borrow` impls first, since they force `Eq` and `Hash` to have particular forms. The commit also notes `TyS`'s uniqueness requirements.
Diffstat (limited to 'compiler/rustc_codegen_gcc/src')
0 files changed, 0 insertions, 0 deletions
