Rollup merge of #139084 - petrochenkov:transpaque, r=davidtwco

hygiene: Rename semi-transparent to semi-opaque

"Semi-transparent" is just too damn long for a name, especially when used multiple times on a single line, it bothered me when working on #139083.

An optimist sees a macro as semi-opaque, a pessimist sees it as semi-transparent.
Or is it the other way round?
This commit is contained in:
Matthias Krüger 2025-04-17 00:14:24 +02:00 committed by GitHub
commit 9842698be5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 48 additions and 48 deletions

View file

@ -767,7 +767,7 @@ pub static BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
),
rustc_attr!(
rustc_macro_transparency, Normal,
template!(NameValueStr: "transparent|semitransparent|opaque"), ErrorFollowing,
template!(NameValueStr: "transparent|semiopaque|opaque"), ErrorFollowing,
EncodeCrossCrate::Yes, "used internally for testing macro hygiene",
),
rustc_attr!(