Use for_each_child_stable in find_module
This commit is contained in:
parent
39f848efb0
commit
a3686c685a
1 changed files with 1 additions and 1 deletions
|
@ -3526,7 +3526,7 @@ impl<'a> Resolver<'a> {
|
||||||
|
|
||||||
self.populate_module_if_necessary(in_module);
|
self.populate_module_if_necessary(in_module);
|
||||||
|
|
||||||
in_module.for_each_child(|ident, _, name_binding| {
|
in_module.for_each_child_stable(|ident, _, name_binding| {
|
||||||
// abort if the module is already found
|
// abort if the module is already found
|
||||||
if let Some(_) = result {
|
if let Some(_) = result {
|
||||||
return ();
|
return ();
|
||||||
|
|
Loading…
Reference in a new issue