Rollup merge of #139789 - lcnr:opaques-auto-trait-leakage, r=compiler-errors

do not unnecessarily leak auto traits in item bounds

fixes https://github.com/rust-lang/trait-system-refactor-initiative/issues/158

Not a fix for https://github.com/rust-lang/trait-system-refactor-initiative/issues/173 as you may have realized/tried yourself, cc #139788. However, fixing this feels desirable regardless and I don't see any reason not to.

r? ```@compiler-errors```
This commit is contained in:
Stuart Cook 2025-04-15 15:47:29 +10:00 committed by GitHub
commit 061cfbe907
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

Diff Content Not Available