about summary refs log tree commit diff
path: root/src/libstd/sys
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-01-21 22:41:37 +0000
committerbors <bors@rust-lang.org>2016-01-21 22:41:37 +0000
commit54475e950cf3db909c4dec4a30c72f7636ab4e07 (patch)
tree7b2d87bcd5fbc1dcd30280d3163de3ba8fedb12f /src/libstd/sys
parent46dcffd05b46e62c27629f4231fc794e94e614a8 (diff)
parentff6b0aac6a63157c1af4e6a3723ed98cd8c3d14f (diff)
downloadrust-54475e950cf3db909c4dec4a30c72f7636ab4e07.tar.gz
rust-54475e950cf3db909c4dec4a30c72f7636ab4e07.zip
Auto merge of #30882 - petrochenkov:varnamesp, r=nrc
Tuple and unit variants from other crates weren't put into type namespace.
Now variant namespacing is aligned with struct namespacing and is not affected by the variant's crate of origin (struct -> type, tuple/unit -> type/value).
Additionally, struct variants from other crates are put into value namespace (struct variants from local crate were already in it). This is not a necessity, but a future proofing measure.

This fix can result in some new shadowing errors in cross-crate scenarios, crater reports [three regressions](https://github.com/rust-lang/rust/pull/30882#issuecomment-172369883).
[breaking-change]
Diffstat (limited to 'src/libstd/sys')
0 files changed, 0 insertions, 0 deletions