-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
rustc_const_eval: always require Substs and a ParamEnv. #43505
Conversation
r? @pnkfelix (rust_highfive has picked a reviewer for you, use r? to override) |
@eddyb -- missing a test, I think |
e0e095b
to
60cf542
Compare
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.
r=me with test
📌 Commit 60cf542 has been approved by |
@bors r+ |
💡 This pull request was already approved, no need to approve it again.
|
📌 Commit 60cf542 has been approved by |
@bors r=nikomatsakis |
rustc_const_eval: always require Substs and a ParamEnv. Fixes #43357 by tracking the `Substs` and `ParamEnv` for const-evaluation in generic contexts.
☀️ Test successful - status-appveyor, status-travis |
Fixes #43357 by tracking the
Substs
andParamEnv
for const-evaluation in generic contexts.