mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
d810c13b92
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.
For more information about how rustc works, see the rustc dev guide.