rust/src/librustc_resolve
bors 8e9a97529d 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.
2015-11-23 17:31:19 +00:00
..
build_reduced_graph.rs Auto merge of #29530 - jseyfried:resolve, r=nikomatsakis 2015-11-23 17:31:19 +00:00
check_unused.rs Port a bunch of code new-visitor; all of these ports were 2015-11-18 19:22:18 -05:00
diagnostics.rs Add long error diagnostics for E0401 2015-11-19 02:01:19 +05:30
lib.rs Auto merge of #29530 - jseyfried:resolve, r=nikomatsakis 2015-11-23 17:31:19 +00:00
record_exports.rs Refactor away get_module_if_available and get_module and reformat one-liners 2015-11-18 01:22:32 +00:00
resolve_imports.rs Refactor away get_module_if_available and get_module and reformat one-liners 2015-11-18 01:22:32 +00:00