1
Fork 0

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

@ -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())
);