Skip to content

Commit 8e9a975

Browse files
committed
Auto merge of #29530 - jseyfried:resolve, r=nikomatsakis
Replace `TypeNsDef` and `ValueNsDef` with a more general type `NsDef`. Define a newtype `NameBinding` for `Rc<RefCell<Option<NsDef>>>` and refactor `NameBindings` to be a `NameBinding` for each namespace. Replace uses of `NameBindings` with `NameBinding` where only one binding is being used (in `NamespaceResult`, `Target,` etc). Refactor away `resolve_definition_of_name_in_module` and `NameDefinition`, fixing issue #4952.
2 parents 69b8e74 + 6a6e1db commit 8e9a975

File tree

6 files changed

+377
-825
lines changed

6 files changed

+377
-825
lines changed

0 commit comments

Comments
 (0)