rust/compiler
Matthias Krüger fc6beb3034
Rollup merge of #145879 - Bryanskiy:supertraits-2, r=lcnr
default auto traits: use default supertraits instead of `Self: Trait` bounds on associated items

First commit: the motivation has been discussed [here](https://github.com/rust-lang/rust/pull/144679).

Second commit:  the only new places where new implicit `DefaultAutoTrait` bounds are generated are supertraits and trait object so `?Trait` syntax should be extended to these places only.

r? `@lcnr`
2025-09-10 20:29:05 +02:00
..
2025-08-27 20:25:18 +02:00
2025-09-08 15:07:12 -07:00
2025-09-09 14:49:16 +02:00
2025-09-08 15:07:12 -07:00
2025-09-08 09:23:37 -07:00
2025-09-09 14:49:16 +02:00
2025-09-08 15:07:12 -07:00
2025-09-09 14:49:16 +02:00
2025-09-09 14:49:16 +02:00