-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Use correct param_env in conservative_is_privately_uninhabited #82159
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
Conversation
Last time I tried to do this, there was an issue with hanging the compiler, so let's not roll this PR up to be on the safe side. @bors r+ rollup=never |
📌 Commit d10e4e6 has been approved by |
Well that would explain the 370m long cancelled CI lmao |
@bors r- CI did hang, let's not waste the CI time since bors queue is pretty full |
This PR seems to yeet itself to death on |
Ok I see why now and have absolutely no idea how to fix this. This is super cursed |
Would using the query system to memoise the result of the call to |
Yea that might be a lot more elegant than this, I realised just as I was finishing up that it was basically DIY'ing the query caching stuff haha. Wanted to push what I had to see if it fixed the CI stalling issue (and it has!!) Will try rewriting this to a query soon :) |
8141ec4
to
84d04ec
Compare
@BoxyUwU: is this ready to review now? |
Yes I think so @varkor |
src/test/ui/const-generics/conservative_is_privately_uninhabited_uses_correct_param_env-1.rs
Outdated
Show resolved
Hide resolved
src/test/ui/const-generics/conservative_is_privately_uninhabited_uses_correct_param_env-2.rs
Outdated
Show resolved
Hide resolved
Thanks, this looks great! Could you squash the commits? |
Squashed and fixed comments :) |
Thanks for investigating this issue! @bors r+ |
📌 Commit 42cbfd6 has been approved by |
☀️ Test successful - checks-actions |
cc @lcnr
r? @varkor since this is your FIXME that was removed ^^