Cannot upcast to supertrait which has generic arg that needs normalization #114113
Labels
C-bug
Category: This is a bug.
F-trait_upcasting
`#![feature(trait_upcasting)]`
fixed-by-next-solver
Fixed by the next-generation trait solver, `-Znext-solver`.
T-types
Relevant to the types team, which will review and decide on the PR/issue.
I tried this code:
I expected to see it compile.
Instead, this happened:
That's because we're missing a
normalize_with_depth_to
call in trait upcasting confirmation.The text was updated successfully, but these errors were encountered: