1
Fork 0

debug Span::ctxt() call detection

This commit is contained in:
Arthur Lafrance 2023-10-16 01:05:11 -07:00
parent f77dea89e1
commit 5895102c4d
9 changed files with 29 additions and 28 deletions

View file

@ -404,7 +404,7 @@ impl<'a> CoverageSpansGenerator<'a> {
let Some(visible_macro) = curr.visible_macro(self.body_span) else { return };
if let Some(prev) = &self.some_prev
&& prev.expn_span.ctxt() == curr.expn_span.ctxt()
&& prev.expn_span.eq_ctxt(curr.expn_span)
{
return;
}