diff options
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ast_map/mod.rs | 14 | ||||
| -rw-r--r-- | src/libsyntax/ast_util.rs | 8 | ||||
| -rw-r--r-- | src/libsyntax/lib.rs | 4 |
3 files changed, 0 insertions, 26 deletions
diff --git a/src/libsyntax/ast_map/mod.rs b/src/libsyntax/ast_map/mod.rs index 993c5ce676a..d1f78c71e19 100644 --- a/src/libsyntax/ast_map/mod.rs +++ b/src/libsyntax/ast_map/mod.rs @@ -68,12 +68,7 @@ impl<'a> Iterator<PathElem> for LinkedPath<'a> { } } -#[cfg(stage0)] -#[deriving(Clone)] -pub struct Values<'a, T>(pub slice::Items<'a, T>); - // HACK(eddyb) move this into libstd (value wrapper for slice::Items). -#[cfg(not(stage0))] #[deriving(Clone)] pub struct Values<'a, T:'a>(pub slice::Items<'a, T>); @@ -483,15 +478,6 @@ impl Map { } } -#[cfg(stage0)] -pub struct NodesMatchingSuffix<'a, S> { - map: &'a Map, - item_name: &'a S, - in_which: &'a [S], - idx: NodeId, -} - -#[cfg(not(stage0))] pub struct NodesMatchingSuffix<'a, S:'a> { map: &'a Map, item_name: &'a S, diff --git a/src/libsyntax/ast_util.rs b/src/libsyntax/ast_util.rs index cc586a3affa..8ef13ef2604 100644 --- a/src/libsyntax/ast_util.rs +++ b/src/libsyntax/ast_util.rs @@ -349,14 +349,6 @@ pub trait IdVisitingOperation { /// A visitor that applies its operation to all of the node IDs /// in a visitable thing. -#[cfg(stage0)] -pub struct IdVisitor<'a, O> { - pub operation: &'a O, - pub pass_through_items: bool, - pub visited_outermost: bool, -} - -#[cfg(not(stage0))] pub struct IdVisitor<'a, O:'a> { pub operation: &'a O, pub pass_through_items: bool, diff --git a/src/libsyntax/lib.rs b/src/libsyntax/lib.rs index 9bbd6b2a36e..254428486f8 100644 --- a/src/libsyntax/lib.rs +++ b/src/libsyntax/lib.rs @@ -25,12 +25,8 @@ #![feature(macro_rules, globs, managed_boxes, default_type_params, phase)] #![feature(quote, struct_variant, unsafe_destructor, import_shadowing)] -#![feature(issue_5723_bootstrap)] #![allow(deprecated)] -// NOTE(stage0, pcwalton): Remove after snapshot. -#![allow(unknown_features)] - extern crate fmt_macros; extern crate debug; #[phase(plugin, link)] extern crate log; |
