File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ fn apply_mark_internal(
153
153
let mut opaque_and_semitransparent = syntax_context_data. opaque_and_semitransparent ;
154
154
155
155
if transparency >= Transparency :: Opaque {
156
- let parent = opaque;
156
+ let parent = handle_self_ref ( ctxt , opaque) ;
157
157
let new_opaque = SyntaxContextId :: SELF_REF ;
158
158
// But we can't just grab the to be allocated ID either as that would not deduplicate
159
159
// things!
@@ -168,7 +168,7 @@ fn apply_mark_internal(
168
168
}
169
169
170
170
if transparency >= Transparency :: SemiTransparent {
171
- let parent = opaque_and_semitransparent;
171
+ let parent = handle_self_ref ( ctxt , opaque_and_semitransparent) ;
172
172
let new_opaque_and_semitransparent = SyntaxContextId :: SELF_REF ;
173
173
opaque_and_semitransparent = db. intern_syntax_context ( SyntaxContextData {
174
174
outer_expn : call_id,
You can’t perform that action at this time.
0 commit comments