rust/src/libstd
Steven Fackler 3dcd215740 Switch to purely namespaced enums
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]
2014-11-17 07:35:51 -08:00
..
collections Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
io Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
num Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
path Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
rand Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
rt Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
sync Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
sys Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
time Move ToString to collections::string 2014-11-16 12:41:55 +11:00
ascii.rs Move IntoString to collections::string 2014-11-16 12:41:55 +11:00
bitflags.rs Repair various cases where values of distinct types were being operated 2014-11-05 09:15:28 -05:00
c_vec.rs bubble up out-of-memory errors from liballoc 2014-11-01 19:23:20 -04:00
dynamic_lib.rs Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
error.rs Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
failure.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
fmt.rs Remove lots of numeric traits from the preludes 2014-11-13 03:46:03 +11:00
hash.rs DSTify Hash 2014-10-31 07:25:34 -05:00
lib.rs Move ToString to collections::string 2014-11-16 12:41:55 +11:00
macros.rs Add optional messages to the unreachable macro. 2014-11-10 19:35:25 -08:00
os.rs Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
prelude.rs Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
rtdeps.rs Fix spelling errors and capitalization. 2014-09-03 23:10:38 -04:00
task.rs Move ToString to collections::string 2014-11-16 12:41:55 +11:00