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 b1f0c0a commit 38169d6Copy full SHA for 38169d6
compiler/rustc_resolve/src/diagnostics.rs
@@ -3048,7 +3048,6 @@ impl<'tcx> visit::Visitor<'tcx> for UsePlacementFinder {
3048
self.first_legal_span = Some(inject);
3049
}
3050
self.first_use_span = search_for_any_use_in_items(&c.items);
3051
- return;
3052
} else {
3053
visit::walk_crate(self, c);
3054
@@ -3062,7 +3061,6 @@ impl<'tcx> visit::Visitor<'tcx> for UsePlacementFinder {
3062
3061
3063
3064
self.first_use_span = search_for_any_use_in_items(items);
3065
3066
3067
3068
visit::walk_item(self, item);
0 commit comments