mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 19:28:29 +00:00

This trait ref is derived from the self type and then equated to the trait ref from the obligation. For example, for `fn(): Fn(u32)`, `self_ty_trait_ref` is `Fn()`, which is then equated to `Fn(u32)` (which will fail, causing the obligation to fail).