rust/src/librustc_typeck
Ralf Jung de4d5ce11e
Rollup merge of #72508 - ecstatic-morse:poly-self-ty, r=nikomatsakis
Make `PolyTraitRef::self_ty` return `Binder<Ty>`

This came up during review of #71618. The current implementation is the same as a call to `skip_binder` but harder to audit. Make it preserve binding levels and add a call to `skip_binder` at all use sites so they can be audited as part of #72507.
2020-06-06 21:57:38 +02:00
..
2020-05-22 18:03:08 +01:00
2020-06-02 20:42:54 +03:00
2020-06-01 13:01:01 -07:00
2020-06-02 20:42:54 +03:00

For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.