Rollup merge of #136311 - compiler-errors:vtable-fixes-2, r=lcnr

Ensure that we never try to monomorphize the upcasting or vtable calls of impossible dyn types

Check for impossible obligations in the `dyn Trait` type we're trying to compute its the vtable upcasting and method call slots.

r? lcnr
This commit is contained in:
Matthias Krüger 2025-02-06 13:09:58 +01:00 committed by GitHub
commit cbeabc0c85
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

Diff Content Not Available