8efbc2cbae
a small wf and clause cleanup - remove `Clause::from_projection_clause`, instead use `ToPredicate` - change `predicate_obligations` to directly take a `Clause` - remove some unnecessary `&` - use clause in `min_specialization` checks where easily applicable
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.