hygiene: Rename semi-transparent to semi-opaque
The former is just too long, see the examples in `hygiene.rs`
This commit is contained in:
parent
10a76d6347
commit
54bb849aff
11 changed files with 48 additions and 48 deletions
|
@ -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())
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue