about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-07-29 17:46:42 +0200
committerGitHub <noreply@github.com>2024-07-29 17:46:42 +0200
commit5551f54aa13115d7953651d9730466b8427f78f7 (patch)
tree883666ec7a12d96deb6a4d1c1e0b5be0c295ae09 /compiler/rustc_parse/src
parent2e9d962a8b22f4ee57ac1c729b2424a332f8de2b (diff)
parent12f1463b7e9b1d01b5e46b50d375de0a9026f2b1 (diff)
downloadrust-5551f54aa13115d7953651d9730466b8427f78f7.tar.gz
rust-5551f54aa13115d7953651d9730466b8427f78f7.zip
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
Diffstat (limited to 'compiler/rustc_parse/src')
0 files changed, 0 insertions, 0 deletions