]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #107532 - compiler-errors:erase-regions-in-uninhabited, r=jackh726
authorMatthias Krüger <matthias.krueger@famsik.de>
Thu, 2 Feb 2023 16:14:07 +0000 (17:14 +0100)
committerGitHub <noreply@github.com>
Thu, 2 Feb 2023 16:14:07 +0000 (17:14 +0100)
Erase regions before doing uninhabited check in borrowck

~Also, fingerprint query keys/values when debug assertions are enabled. This should make it easier to check for issues like this without `-Cincremental`, and make UI tests a bit cleaner.~ edit: moving that to a separate PR

Fixes #107505

1  2 
compiler/rustc_borrowck/src/type_check/mod.rs