Skip to content

Commit 803cc87

Browse files
nits
1 parent 71b10cd commit 803cc87

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_resolve/src/imports.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ impl<'ra> ImportResolutionOutputs<'ra> {
8484
fn commit<'tcx>(self, r: &mut Resolver<'ra, 'tcx>) {
8585
r.indeterminate_imports = self.indeterminate_imports;
8686
r.determined_imports.extend(self.determined_imports);
87+
8788
for glob in self.glob_imports {
8889
r.resolve_glob_import(glob);
8990
}
@@ -957,7 +958,6 @@ impl<'ra, 'tcx> Resolver<'ra, 'tcx> {
957958
}
958959
};
959960

960-
// FIXME: isolate if not a cache.
961961
import.imported_module.set(Some(module));
962962
let (source, target, bindings, type_ns_only) = match import.kind {
963963
ImportKind::Single { source, target, ref bindings, type_ns_only, .. } => {

compiler/rustc_resolve/src/macros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ impl<'ra, 'tcx> ResolverExpand for Resolver<'ra, 'tcx> {
238238
}
239239

240240
fn resolve_imports(&mut self) {
241-
self.resolve_imports();
241+
self.resolve_imports()
242242
}
243243

244244
fn resolve_macro_invocation(

0 commit comments

Comments
 (0)