Skip to content

Commit

Permalink
Auto merge of rust-lang#102903 - compiler-errors:region-var-leak, r=j…
Browse files Browse the repository at this point in the history
…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`
  • Loading branch information
bors committed Oct 25, 2022
2 parents 1b7ebbc + a081fc7 commit 0be6db2
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 0be6db2

Please sign in to comment.