mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
99db2737c9
Use trait definition cycle detection for trait alias definitions, too fixes #133901 In general doing this for `All` is not right, but this code path is specifically for traits and trait aliases, and there we only ever use `All` for trait aliases.
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.