]> git.lizzy.rs Git - rust.git/commit
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)
commit3e0995a440e66c01383d78c6adcb1cd9c1ae3a46
tree5047eb3f0025e666f973dc0224a139c17770c15d
parent6917040cf095f6d116b82184aa005f3eb02c482c
parent2c23c7f0cd7a665bbd7b173ebfc26cae223304e3
Rollup merge of #107532 - compiler-errors:erase-regions-in-uninhabited, r=jackh726

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
compiler/rustc_borrowck/src/type_check/mod.rs