summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-01-30 10:16:55 +0000
committerbors <bors@rust-lang.org>2016-01-30 10:16:55 +0000
commitb16fbe79ac29fc5ce604c89736352ca2765c7d78 (patch)
tree8e6c4556c72cc75c8cdff93856e992f02ed8c308 /src/libstd/sys/unix/stack_overflow.rs
parentef1a13b6371bcebc15c850ab82f14688d994fd25 (diff)
parentafd42d21442db92492799f65e22e024e1e2b1011 (diff)
downloadrust-b16fbe79ac29fc5ce604c89736352ca2765c7d78.tar.gz
rust-b16fbe79ac29fc5ce604c89736352ca2765c7d78.zip
Auto merge of #30843 - jseyfried:no_per_ns, r=nikomatsakis
This commit refactors the field `Module::children` from mapping `Name` -> `NameBindings` to mapping `(Name, Namespace)` -> `NameBinding` and refactors the field `Module::import_resolutions` from mapping `Name` -> `ImportResolutionPerNamespace` to mapping `(Name, Namespace)` -> `ImportResolution`.

This allows the duplicate checking code to be refactored so that `NameBinding` no longer needs ref-counting or a RefCell (removing the need for `NsDef`).

r? @nikomatsakis
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions