mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-06 04:06:31 +00:00

Stop using `box PAT` syntax for deref patterns, as it's misleading and also causes their semantics being tangled up.
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.