1
Fork 0
rust/compiler/rustc_middle
Nicholas Nethercote d46ed5d333 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.
2022-01-21 14:38:43 +11:00
..
benches
src Clarify some code relating to interning and types. 2022-01-21 14:38:43 +11:00
Cargo.toml Update rayon and rustc-rayon 2022-01-10 11:34:07 -08:00
README.md

For more information about how rustc works, see the rustc dev guide.