Remove useless span magic
This commit is contained in:
parent
273c898aef
commit
f37054b396
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue