rust/compiler/rustc_typeck
Ralf Jung fc58224b79
Rollup merge of #76940 - Aaron1011:fix/trait-on-tait, r=oli-obk
Don't allow implementing trait directly on type-alias-impl-trait

This is specifically disallowed by the RFC, but we never added a check
for it.

Fixes #76202
2020-09-20 15:52:09 +02:00
..

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