We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 162fa86 commit 4dc4caeCopy full SHA for 4dc4cae
src/librustc_resolve/resolve_imports.rs
@@ -124,8 +124,9 @@ impl ImportDirective {
124
#[derive(Clone, Default)]
125
/// Records information about the resolution of a name in a module.
126
pub struct NameResolution<'a> {
127
- /// The number of unresolved single imports that could define the name.
+ /// The number of unresolved single imports of any visibility that could define the name.
128
outstanding_references: u32,
129
+ /// The number of unresolved `pub` single imports that could define the name.
130
pub_outstanding_references: u32,
131
/// The least shadowable known binding for this name, or None if there are no known bindings.
132
pub binding: Option<&'a NameBinding<'a>>,
0 commit comments