rust/tests/ui/stats
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
..
auxiliary Introduce -Zmacro-stats. 2025-06-12 21:17:17 +10:00
input-stats.rs tests: Do not run afoul of asm.validity.non-exhaustive in input-stats 2025-06-25 13:08:51 -07:00
input-stats.stderr Rollup merge of #144291 - oli-obk:const_trait_alias, r=fee1-dead 2025-10-31 02:39:14 +01:00
macro-stats.rs Augment the test. 2025-08-08 14:04:17 +10:00
macro-stats.stderr Fix some bad formatting in -Zmacro-stats output. 2025-08-08 14:51:24 +10:00
meta-stats.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00