Remove useless span magic

This commit is contained in:
blyxyas 2023-04-28 20:19:36 +02:00
parent 273c898aef
commit f37054b396
No known key found for this signature in database
GPG Key ID: 4D38170B5A2FC334

View File

@ -74,7 +74,7 @@ impl LateLintPass<'_> for ItemsAfterTestModule {
if mitem.has_name(sym::test);
then {
was_test_mod_visited = true;
test_mod_span = Some(module.spans.inner_span.with_lo(item.span.lo()));
test_mod_span = Some(item.span);
}
}
}