-
Notifications
You must be signed in to change notification settings - Fork 13.3k
use param_env on the trait_cache key #44741
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use param_env on the trait_cache key #44741
Conversation
@bors r+ |
📌 Commit 03d9056 has been approved by |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a nit.
@@ -33,22 +33,22 @@ impl<'a, 'tcx> TyCtxt<'a, 'tcx, 'tcx> { | |||
/// obligations *could be* resolved if we wanted to. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Can we extend this comment to say "/// Assumes that this is run after the entire crate has been successfully type-checked."
@bors: r=nikomatsakis |
📌 Commit a7e302a has been approved by |
⌛ Testing commit a7e302a33a634fdbadd01b71f97d964b3a6b31f4 with merge b88c670c31bd47a19d5cd788a1e5d7ab8e54d6f8... |
💔 Test failed - status-travis |
Needs to submit a PR to miri, and set miri's toolstate to "Broken". (cc @oli-obk @RalfJung @eddyb)
|
f7da45f
to
9d52cb2
Compare
@bors r+ |
📌 Commit 9d52cb2 has been approved by |
… r=nikomatsakis use param_env on the trait_cache key We bailed from making trans_fulfill_obligation return `Option` or `Result`, just made it less prone to crashing outside trans r? @nikomatsakis
☀️ Test successful - status-appveyor, status-travis |
We bailed from making trans_fulfill_obligation return
Option
orResult
, just made it less prone to crashing outside transr? @nikomatsakis