Rollup merge of #116452 - cjgillot:noassert-erased, r=oli-obk
Do not assert that hidden types don't have erased regions. cc https://github.com/rust-lang/rust/issues/116306 `args` can have erased regions. In the linked issue, this is reached by computing whether a large type is `Freeze` to compute its ABI. I do not have a minimized test to include.
M
Matthias Krüger committed
76d0b794cb5eb618b13e444b2d28ce59ada01efe
Committed by GitHub <noreply@github.com>
on 10/5/2023, 5:24:35 PM