rust/compiler
bors c4e05e53d1 Auto merge of #136988 - compiler-errors:impossible_predicates, r=lcnr
Use the new solver in the `impossible_predicates`

The old solver is unsound for many reasons. One of which was weaponized by `@lcnr` in #140212, where the old solver was incompletely considering a dyn vtable method to be impossible and replacing its vtable entry with a null value. This null function could be called post-mono.

The new solver is expected to be less incomplete due to its correct handling of higher-ranked aliases in relate. This PR switches the `impossible_predicates` query to use the new solver, which patches this UB.

r? lcnr
2025-05-15 15:31:24 +00:00
..
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:30 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-11 14:37:54 +10:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 17:20:49 +00:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00