mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-08 05:06:52 +00:00

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.