Add a comment
This commit is contained in:
parent
162fa8642b
commit
4dc4cae79a
1 changed files with 2 additions and 1 deletions
|
|
@ -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>>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue