Files
rust/tests
Matthias Krüger 5551f54aa1 Rollup merge of #128174 - compiler-errors:trait-alias-marker, r=oli-obk
Don't record trait aliases as marker traits

Don't record `#[marker]` on trait aliases, since we use that to check for the (non-presence of) associated types and other things which don't make sense of trait aliases. We already enforce this attr is only applied to a trait.

Also do the same for `#[const_trait]`, which we also enforce is only applied to a trait. This is a drive-by change, but also worthwhile just in case.

Fixes #127222
2024-07-29 17:46:42 +02:00
..
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-07-01 05:17:13 -07:00
2024-07-13 12:02:12 +00:00
2024-07-06 14:24:20 +02:00
2024-07-29 08:26:52 +10:00
2024-06-07 11:55:52 +08:00
2024-07-29 08:26:52 +10:00