e21e039a78
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.