We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
return
1 parent a7a6c64 commit a93616aCopy full SHA for a93616a
compiler/rustc_resolve/src/diagnostics.rs
@@ -3042,7 +3042,6 @@ impl<'tcx> visit::Visitor<'tcx> for UsePlacementFinder {
3042
self.first_legal_span = Some(inject);
3043
}
3044
self.first_use_span = search_for_any_use_in_items(&c.items);
3045
- return;
3046
} else {
3047
visit::walk_crate(self, c);
3048
@@ -3056,7 +3055,6 @@ impl<'tcx> visit::Visitor<'tcx> for UsePlacementFinder {
3056
3055
3057
3058
self.first_use_span = search_for_any_use_in_items(items);
3059
3060
3061
3062
visit::walk_item(self, item);
0 commit comments