This PR implements RFC3324, dyn Trait upcasting (cc rust-lang/rust#65991).
As explained in the RFC, this PR adds builtin clauses for Unsize with applicability checks:
// when Trait2 is a super trait of Trait1 and AutoY is a subset of AutoX:
dyn Trait1 + AutoX + 'a: Unsize<dyn Trait2 + AutoY + 'b> :- EqGoal(...), 'a: 'b.
This PR implements RFC3324,
dyn Trait
upcasting (cc rust-lang/rust#65991).As explained in the RFC, this PR adds builtin clauses for
Unsize
with applicability checks: