Files
Matthias Krüger 149ad71e05 Rollup merge of #144291 - oli-obk:const_trait_alias, r=fee1-dead
Constify trait aliases

Allow `const trait Foo = Bar + [const] Baz;` trait alias declarations. Their rules are the same as with super traits of const traits. So `[const] Baz` or `const Baz` is only required for `[const] Foo` or `const Foo` bounds respectively.

tracking issue rust-lang/rust#41517 (part of the general trait alias feature gate, but I can split it out into a separate const trait alias feature gate. I just assumed that const traits would stabilize before trait aliases, and we'd want to stabilize trait aliases together with const trait aliases at the same time)

r? ``@compiler-errors`` ``@fee1-dead``
2025-10-31 02:39:14 +01:00
..
2025-10-27 19:31:45 -05:00
2025-09-08 14:17:56 +02:00
2025-03-30 01:32:21 +03:00
2025-09-29 16:06:25 +01:00
2025-09-26 19:09:23 -04:00
2025-03-15 06:34:36 +00:00
2025-10-11 20:50:20 +00:00