remove deprecated APIs missed in #30182

This commit is contained in:
Tamir Duberstein
2015-12-12 07:55:28 -05:00
parent 722905fda0
commit b964b1d043
3 changed files with 1 additions and 15 deletions

View File

@@ -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)

View File

@@ -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,