Port #[rustc_pub_transparent] to the new attribute system

This commit is contained in:
Pavel Grigorenko
2025-06-14 20:54:30 +03:00
parent ea34650916
commit d86d3f3742
6 changed files with 29 additions and 4 deletions

View File

@@ -710,7 +710,7 @@ pub static BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
),
rustc_attr!(
rustc_pub_transparent, Normal, template!(Word),
WarnFollowing, EncodeCrossCrate::Yes,
ErrorFollowing, EncodeCrossCrate::Yes,
"used internally to mark types with a `transparent` representation when it is guaranteed by the documentation",
),