a60e337c88
We already use a mix of `Literal` and `Lit`. The latter is better because it is shorter without causing any ambiguity.
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.