Skip to content

Commit 4dc4cae

Browse files
committed
Add a comment
1 parent 162fa86 commit 4dc4cae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/librustc_resolve/resolve_imports.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,9 @@ impl ImportDirective {
124124
#[derive(Clone, Default)]
125125
/// Records information about the resolution of a name in a module.
126126
pub struct NameResolution<'a> {
127-
/// The number of unresolved single imports that could define the name.
127+
/// The number of unresolved single imports of any visibility that could define the name.
128128
outstanding_references: u32,
129+
/// The number of unresolved `pub` single imports that could define the name.
129130
pub_outstanding_references: u32,
130131
/// The least shadowable known binding for this name, or None if there are no known bindings.
131132
pub binding: Option<&'a NameBinding<'a>>,

0 commit comments

Comments
 (0)