]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #95731 - oli-obk:lazy_tait_regression, r=compiler-errors
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>
Wed, 6 Apr 2022 21:06:10 +0000 (23:06 +0200)
committerGitHub <noreply@github.com>
Wed, 6 Apr 2022 21:06:10 +0000 (23:06 +0200)
Check that all hidden types are the same and then deduplicate them.

fixes #95538

This used to trigger a sanity check. Now we accept that there may be multiple places where a hidden type is constrained and we merge all of these at the end.

Ideally we'd merge eagerly, but that is a larger refactoring that I don't want to put into a backport


Trivial merge