Make `InferCtxt::can_eq` and `InferCtxt::can_sub` return booleans Nobody matches on the result, nor does the result return anything useful...
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.