diff options
| author | Tamir Duberstein <tamird@gmail.com> | 2015-12-12 07:55:28 -0500 |
|---|---|---|
| committer | Tamir Duberstein <tamird@gmail.com> | 2015-12-13 01:02:12 -0500 |
| commit | b964b1d043b8db7a39d7502c068f07cd399e375f (patch) | |
| tree | 7b31acb4e7dfe8e45e40eb8b5913b92e530a9d3d /src/libsyntax | |
| parent | 722905fda0bc7ef818bccc4b3f59641533269f36 (diff) | |
| download | rust-b964b1d043b8db7a39d7502c068f07cd399e375f.tar.gz rust-b964b1d043b8db7a39d7502c068f07cd399e375f.zip | |
remove deprecated APIs missed in #30182
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ext/base.rs | 7 | ||||
| -rw-r--r-- | src/libsyntax/util/small_vector.rs | 7 |
2 files changed, 0 insertions, 14 deletions
diff --git a/src/libsyntax/ext/base.rs b/src/libsyntax/ext/base.rs index 3b613922bc9..22315454f89 100644 --- a/src/libsyntax/ext/base.rs +++ b/src/libsyntax/ext/base.rs @@ -601,13 +601,6 @@ impl<'a> ExtCtxt<'a> { } } - #[unstable(feature = "rustc_private", issue = "0")] - #[rustc_deprecated(since = "1.0.0", - reason = "Replaced with `expander().fold_expr()`")] - pub fn expand_expr(&mut self, e: P<ast::Expr>) -> P<ast::Expr> { - self.expander().fold_expr(e) - } - /// Returns a `Folder` for deeply expanding all macros in an AST node. pub fn expander<'b>(&'b mut self) -> expand::MacroExpander<'b, 'a> { expand::MacroExpander::new(self) diff --git a/src/libsyntax/util/small_vector.rs b/src/libsyntax/util/small_vector.rs index ee183d7f3e9..8b07b21c578 100644 --- a/src/libsyntax/util/small_vector.rs +++ b/src/libsyntax/util/small_vector.rs @@ -127,13 +127,6 @@ impl<T> SmallVector<T> { } } - /// Deprecated: use `into_iter`. - #[unstable(feature = "rustc_private", issue = "0")] - #[rustc_deprecated(since = "1.0.0", reason = "use into_iter")] - pub fn move_iter(self) -> IntoIter<T> { - self.into_iter() - } - pub fn len(&self) -> usize { match self.repr { Zero => 0, |
