mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-05 19:57:02 +00:00

Don't add associated type bound for non-types We had this fix for equality constraints (#99890), but for some reason not trait constraints 😅 Fixes #114744
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.