diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2025-03-28 22:31:20 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2025-03-31 15:41:48 +0300 |
| commit | 54bb849affcbede09ab1327c6cd996e5c5948cdd (patch) | |
| tree | f300a4c0911d4c95c66534e2bc29e723e576cf23 /compiler/rustc_span/src/lib.rs | |
| parent | 10a76d634781180b4f5402c519f0c237d3be6ee6 (diff) | |
| download | rust-54bb849affcbede09ab1327c6cd996e5c5948cdd.tar.gz rust-54bb849affcbede09ab1327c6cd996e5c5948cdd.zip | |
hygiene: Rename semi-transparent to semi-opaque
The former is just too long, see the examples in `hygiene.rs`
Diffstat (limited to 'compiler/rustc_span/src/lib.rs')
| -rw-r--r-- | compiler/rustc_span/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_span/src/lib.rs b/compiler/rustc_span/src/lib.rs index 9e6ba2e1b9c..625ece787b9 100644 --- a/compiler/rustc_span/src/lib.rs +++ b/compiler/rustc_span/src/lib.rs @@ -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 |
