We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 273c898 commit f37054bCopy full SHA for f37054b
clippy_lints/src/items_after_test_module.rs
@@ -74,7 +74,7 @@ impl LateLintPass<'_> for ItemsAfterTestModule {
74
if mitem.has_name(sym::test);
75
then {
76
was_test_mod_visited = true;
77
- test_mod_span = Some(module.spans.inner_span.with_lo(item.span.lo()));
+ test_mod_span = Some(item.span);
78
}
79
80
0 commit comments