]> git.lizzy.rs Git - rust.git/commit
Only normalize once in mir validator typechecker
authorNilstrieb <48135649+Nilstrieb@users.noreply.github.com>
Sat, 6 Aug 2022 12:22:57 +0000 (14:22 +0200)
committernils <48135649+Nilstrieb@users.noreply.github.com>
Mon, 29 Aug 2022 14:29:53 +0000 (16:29 +0200)
commit96d4137deed6c52c6db2dd19568c37d1c160f1e7
tree8fd89d7c977af0e6db3346e6f67754e619b453ec
parent81a583c21e74d600ef8c4b45a3d5088382300e17
Only normalize once in mir validator typechecker

Before, it called `normalize_erasing_regions` twice since
`equal_up_to_regions` called it as well for both types.
compiler/rustc_const_eval/src/transform/validate.rs