@@ -54,7 +54,7 @@ pub fn span_with_mixed_site_ctxt(
5454 expn_id : MacroCallId ,
5555 edition : Edition ,
5656) -> Span {
57- span_with_ctxt_from_mark ( db, span, expn_id, Transparency :: SemiTransparent , edition)
57+ span_with_ctxt_from_mark ( db, span, expn_id, Transparency :: SemiOpaque , edition)
5858}
5959
6060fn span_with_ctxt_from_mark (
@@ -82,7 +82,7 @@ pub(super) fn apply_mark(
8282 }
8383
8484 let call_site_ctxt = db. lookup_intern_macro_call ( call_id. into ( ) ) . ctxt ;
85- let mut call_site_ctxt = if transparency == Transparency :: SemiTransparent {
85+ let mut call_site_ctxt = if transparency == Transparency :: SemiOpaque {
8686 call_site_ctxt. normalize_to_macros_2_0 ( db)
8787 } else {
8888 call_site_ctxt. normalize_to_macro_rules ( db)
@@ -117,16 +117,16 @@ fn apply_mark_internal(
117117 let call_id = Some ( call_id) ;
118118
119119 let mut opaque = ctxt. opaque ( db) ;
120- let mut opaque_and_semitransparent = ctxt. opaque_and_semitransparent ( db) ;
120+ let mut opaque_and_semiopaque = ctxt. opaque_and_semiopaque ( db) ;
121121
122122 if transparency >= Transparency :: Opaque {
123123 let parent = opaque;
124124 opaque = SyntaxContext :: new ( db, call_id, transparency, edition, parent, identity, identity) ;
125125 }
126126
127- if transparency >= Transparency :: SemiTransparent {
128- let parent = opaque_and_semitransparent ;
129- opaque_and_semitransparent =
127+ if transparency >= Transparency :: SemiOpaque {
128+ let parent = opaque_and_semiopaque ;
129+ opaque_and_semiopaque =
130130 SyntaxContext :: new ( db, call_id, transparency, edition, parent, |_| opaque, identity) ;
131131 }
132132
@@ -138,6 +138,6 @@ fn apply_mark_internal(
138138 edition,
139139 parent,
140140 |_| opaque,
141- |_| opaque_and_semitransparent ,
141+ |_| opaque_and_semiopaque ,
142142 )
143143}
0 commit comments