hygiene: Rename semi-transparent to semi-opaque

The former is just too long, see the examples in `hygiene.rs`
This commit is contained in:
Vadim Petrochenkov
2025-03-28 22:31:20 +03:00
parent 10a76d6347
commit 54bb849aff
11 changed files with 48 additions and 48 deletions

View File

@@ -1112,7 +1112,7 @@ impl Span {
/// Equivalent of `Span::mixed_site` from the proc macro API,
/// except that the location is taken from the `self` span.
pub fn with_mixed_site_ctxt(self, expn_id: ExpnId) -> Span {
self.with_ctxt_from_mark(expn_id, Transparency::SemiTransparent)
self.with_ctxt_from_mark(expn_id, Transparency::SemiOpaque)
}
/// Produces a span with the same location as `self` and context produced by a macro with the