mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-27 11:05:06 +00:00
Don't project to RPITIT that has no default value
Replicates this behavior, but for RPITIT projection logic (which currently is separate)
b1719530f4/compiler/rustc_trait_selection/src/traits/project.rs (L2105-L2115)
Fixes #108738
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.