extend stable hasher to support CanonicalTy#49091
Conversation
51bb574 to
f02dc74
Compare
| FloatVar(a), | ||
| FreshTy(a), | ||
| FreshIntTy(a), | ||
| FreshFloatTy(a), |
There was a problem hiding this comment.
The Fresh* variants are valid to hash?
There was a problem hiding this comment.
They are not confined to the local tcx:
Lines 112 to 124 in 3b6412b
There was a problem hiding this comment.
It just happens that we don't ever put them in query keys right now (and probably never will, but whatever).
There was a problem hiding this comment.
(To be honest, even the TyVar and so forth would be ok to hash -- in the sense that they are "stable-ish" -- it's just that it truly ought to be impossible... it would indicate some other problem if we did see them that would be worth knowing about.)
Well, I take that back. It's a bit dubious given that their meaning depends on the surrounding infcx. Anyway, ought to be impossible. =)
|
Thanks for the explanation! @bors r+ |
|
📌 Commit f02dc74 has been approved by |
|
@bors p=1 -- important regression to button down |
|
⌛ Testing commit f02dc74 with merge a5bc1141a0683804890d19bea6a08e3e6d9a0dfb... |
|
💔 Test failed - status-travis |
|
@bors retry
Details |
|
⌛ Testing commit f02dc74 with merge 86091adfe8e5752967963ee8417ce1aa8898cf1a... |
|
💔 Test failed - status-travis |
|
@bors retry |
|
⌛ Testing commit f02dc74 with merge 678f786e713c168cbfcd6f1324202514cec7ef45... |
|
💔 Test failed - status-travis |
|
@bors retry Somethings wrong with Travis. |
…aelwoerister extend stable hasher to support `CanonicalTy` Fixes #49043 r? @michaelwoerister
|
☀️ Test successful - status-appveyor, status-travis |
Fixes #49043
r? @michaelwoerister