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_resolve/src | |
| 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_resolve/src')
| -rw-r--r-- | compiler/rustc_resolve/src/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/rustc_resolve/src/lib.rs b/compiler/rustc_resolve/src/lib.rs index 612e091770f..1eac3f848b6 100644 --- a/compiler/rustc_resolve/src/lib.rs +++ b/compiler/rustc_resolve/src/lib.rs @@ -1998,16 +1998,16 @@ impl<'ra, 'tcx> Resolver<'ra, 'tcx> { result, result.map(|r| r.expn_data()) ); - // Then find the last semi-transparent mark from the end if it exists. + // Then find the last semi-opaque mark from the end if it exists. for (mark, transparency) in iter { - if transparency == Transparency::SemiTransparent { + if transparency == Transparency::SemiOpaque { result = Some(mark); } else { break; } } debug!( - "resolve_crate_root: found semi-transparent mark {:?} {:?}", + "resolve_crate_root: found semi-opaque mark {:?} {:?}", result, result.map(|r| r.expn_data()) ); |
