rust/src/libsyntax
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
..
ast_map Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
diagnostics Fallout from collection conventions 2014-11-06 12:26:08 -05:00
ext Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
parse Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
print Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
util Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
abi.rs Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
ast.rs Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
ast_util.rs Support parenthesized paths Foo(A,B) -> C that expand to Foo<(A,B),C>. These paths also bind anonymous regions (or will, once HRTB is fully working). 2014-11-06 06:48:23 -05:00
attr.rs Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
codemap.rs Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
config.rs rustc: Process #[cfg]/#[cfg_attr] on crates 2014-11-07 12:04:28 -08:00
diagnostic.rs Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
feature_gate.rs Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
fold.rs Complete the removal of ty_nil, ast::LitNil, ast::TyBot and ast::TyUniq 2014-11-16 14:23:15 +01:00
lib.rs Complete the removal of ty_nil, ast::LitNil, ast::TyBot and ast::TyUniq 2014-11-16 14:23:15 +01:00
owned_slice.rs collections: Remove all collections traits 2014-11-01 11:37:04 -07:00
ptr.rs Remove a large amount of deprecated functionality 2014-10-19 12:59:40 -07:00
show_span.rs rebasing fixes 2014-09-17 16:53:20 +12:00
std_inject.rs Support parenthesized paths Foo(A,B) -> C that expand to Foo<(A,B),C>. These paths also bind anonymous regions (or will, once HRTB is fully working). 2014-11-06 06:48:23 -05:00
test.rs Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
visit.rs Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00