mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 22:18:23 +03:00
ad43be310f
Deeply normalize `TypeTrace` when reporting type error in new solver Normalize the values that come from the `TypeTrace` for various type mismatches. Side-note: We can't normalize the `TypeError` itself bc it may come from instantiated binders, so it may reference values from within the probe... r? lcnr
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.