Remove useless span magic

This commit is contained in:
blyxyas
2023-04-28 20:19:36 +02:00
parent 273c898aef
commit f37054b396
+1 -1
View File
@@ -74,7 +74,7 @@ fn check_mod(&mut self, cx: &LateContext<'_>, _: &Mod<'_>, _: HirId) {
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);
}
}
}