replace binding and shadowed_glob on NameResolution with non_glob_binding and glob_binding
This commit is contained in:
committed by
LorrensP-2158466
parent
2f9c9cede6
commit
9ed5378cfd
@@ -641,7 +641,7 @@ impl<'ra> Module<'ra> {
|
||||
F: FnMut(&mut R, Ident, Namespace, NameBinding<'ra>),
|
||||
{
|
||||
for (key, name_resolution) in resolver.as_mut().resolutions(self).borrow().iter() {
|
||||
if let Some(binding) = name_resolution.borrow().binding {
|
||||
if let Some(binding) = name_resolution.borrow().best_binding() {
|
||||
f(resolver, key.ident, key.ns, binding);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user