mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-02 14:07:10 +00:00
improve comments for `simplify_type` Should now correctly describe what's going on. Experimented with checking the invariant for projections but that ended up requiring fairly involved changes. I assume that it is not possible to get unsoundness here, at least for now and I can pretty much guarantee that it's impossible to trigger it by accident. r? `````@nikomatsakis````` cc #92721
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.