debug Span::ctxt() call detection
This commit is contained in:
parent
f77dea89e1
commit
5895102c4d
9 changed files with 29 additions and 28 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue