Add a comment

This commit is contained in:
Jeffrey Seyfried 2016-03-07 22:43:56 +00:00
parent 162fa8642b
commit 4dc4cae79a

View File

@ -124,8 +124,9 @@ impl ImportDirective {
#[derive(Clone, Default)]
/// Records information about the resolution of a name in a module.
pub struct NameResolution<'a> {
/// 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.
outstanding_references: u32,
/// The number of unresolved `pub` single imports that could define the name.
pub_outstanding_references: u32,
/// The least shadowable known binding for this name, or None if there are no known bindings.
pub binding: Option<&'a NameBinding<'a>>,