about 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>2014-11-17 17:22:06 +0000
committerbors <bors@rust-lang.org>2014-11-17 17:22:06 +0000
commitf09279395b6ca40f1398277971586197f949738a (patch)
treea535249e131e5669827f8460017cb7a708b05a39 /src/libstd/sys/unix/stack_overflow.rs
parent88c743def3cf42ee943ca09dda1e6dccf4894db9 (diff)
parent3dcd2157403163789aaf21a9ab3c4d30a7c6494d (diff)
downloadrust-f09279395b6ca40f1398277971586197f949738a.tar.gz
rust-f09279395b6ca40f1398277971586197f949738a.zip
auto merge of #18973 : sfackler/rust/enum-namespace-pt2, r=pcwalton
This breaks code that referred to variant names in the same namespace as
their enum. Reexport the variants in the old location or alter code to
refer to the new locations:

```
pub enum Foo {
    A,
    B
}

fn main() {
    let a = A;
}
```
=>
```
pub use self::Foo::{A, B};

pub enum Foo {
    A,
    B
}

fn main() {
    let a = A;
}
```
or
```
pub enum Foo {
    A,
    B
}

fn main() {
    let a = Foo::A;
}
```

[breaking-change]
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions