SIGN IN SIGN UP
rust-lang / rust UNCLAIMED

Empowering everyone to build reliable and efficient software.

0 0 71 Rust

Rollup merge of #135697 - compiler-errors:poly-trait-ref, r=lqd

Get rid of `ToPolyTraitRef`

It's generally a footgun, since it throws away `PredicatePolarity`.

This PR doesn't attempt to fix any related bugs having to do with binders or polarity; it just tries to pass through `TraitPredicate`s around instead of `TraitRef`s. There should be basically no functional changes.
M
Matthias Krüger committed
d810c13b92b47be14bdac62cf6c81cc408a87fdc
Committed by GitHub <noreply@github.com> on 1/19/2025, 12:18:57 AM