Skip to content

Commit a3686c6

Browse files
Use for_each_child_stable in find_module
1 parent 39f848e commit a3686c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_resolve/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3526,7 +3526,7 @@ impl<'a> Resolver<'a> {
35263526

35273527
self.populate_module_if_necessary(in_module);
35283528

3529-
in_module.for_each_child(|ident, _, name_binding| {
3529+
in_module.for_each_child_stable(|ident, _, name_binding| {
35303530
// abort if the module is already found
35313531
if let Some(_) = result {
35323532
return ();

0 commit comments

Comments
 (0)