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

@ -923,10 +923,10 @@ pub fn hard_link<P: AsRef<Path>, Q: AsRef<Path>>(src: P, dst: Q) -> io::Result<(
/// # Ok(())
/// # }
/// ```
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_deprecated(since = "1.1.0",
reason = "replaced with std::os::unix::fs::symlink and \
std::os::windows::fs::{symlink_file, symlink_dir}")]
#[stable(feature = "rust1", since = "1.0.0")]
pub fn soft_link<P: AsRef<Path>, Q: AsRef<Path>>(src: P, dst: Q) -> io::Result<()> {
fs_imp::symlink(src.as_ref(), dst.as_ref())
}

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,