-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Assert if inference vars are leaking from InferCtxt::fully_resolve
#102903
Conversation
r? @jackh726 (rust-highfive has picked a reviewer for you, use r? to override) |
@@ -1,4 +1,6 @@ | |||
// check-pass | |||
// known-bug: unknown |
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.
This is a bug on my end, but I should fix it independently.
dce8675
to
2f14465
Compare
Does this need to be rebased? r=me |
2f14465
to
1727c00
Compare
@bors r=jackh726 rollup=never |
☀️ Test successful - checks-actions |
Finished benchmarking commit (6365e5a): comparison URL. Overall result: ❌ regressions - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. Footnotes |
…pty-hack, r=TaKO8Ki Remove a lifetime resolution hack from `compare_predicate_entailment` This is not needed anymore, probably due to rust-lang#102334 equating the function signatures fully in `collect_trait_impl_trait_tys`. Also, the assertion in in rust-lang#102903 makes sure that this is actually fixed, so I'm pretty confident this isn't needed.
…ackh726 Assert if inference vars are leaking from `InferCtxt::fully_resolve` `InferCtxt::fully_resolve` shouldn't return unresolved inference vars without us at least being aware of it, so make it an assertion now. This should only happen in cases where we used to be returning `ReEmpty`... cc `@jackh726`
InferCtxt::fully_resolve
shouldn't return unresolved inference vars without us at least being aware of it, so make it an assertion now. This should only happen in cases where we used to be returningReEmpty
...cc @jackh726