Skip to content

Commit b964b1d

Browse files
committed
remove deprecated APIs missed in #30182
1 parent 722905f commit b964b1d

File tree

3 files changed

+1
-15
lines changed

3 files changed

+1
-15
lines changed

src/libstd/fs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -923,10 +923,10 @@ pub fn hard_link<P: AsRef<Path>, Q: AsRef<Path>>(src: P, dst: Q) -> io::Result<(
923923
/// # Ok(())
924924
/// # }
925925
/// ```
926+
#[stable(feature = "rust1", since = "1.0.0")]
926927
#[rustc_deprecated(since = "1.1.0",
927928
reason = "replaced with std::os::unix::fs::symlink and \
928929
std::os::windows::fs::{symlink_file, symlink_dir}")]
929-
#[stable(feature = "rust1", since = "1.0.0")]
930930
pub fn soft_link<P: AsRef<Path>, Q: AsRef<Path>>(src: P, dst: Q) -> io::Result<()> {
931931
fs_imp::symlink(src.as_ref(), dst.as_ref())
932932
}

src/libsyntax/ext/base.rs

-7
Original file line numberDiff line numberDiff line change
@@ -601,13 +601,6 @@ impl<'a> ExtCtxt<'a> {
601601
}
602602
}
603603

604-
#[unstable(feature = "rustc_private", issue = "0")]
605-
#[rustc_deprecated(since = "1.0.0",
606-
reason = "Replaced with `expander().fold_expr()`")]
607-
pub fn expand_expr(&mut self, e: P<ast::Expr>) -> P<ast::Expr> {
608-
self.expander().fold_expr(e)
609-
}
610-
611604
/// Returns a `Folder` for deeply expanding all macros in an AST node.
612605
pub fn expander<'b>(&'b mut self) -> expand::MacroExpander<'b, 'a> {
613606
expand::MacroExpander::new(self)

src/libsyntax/util/small_vector.rs

-7
Original file line numberDiff line numberDiff line change
@@ -127,13 +127,6 @@ impl<T> SmallVector<T> {
127127
}
128128
}
129129

130-
/// Deprecated: use `into_iter`.
131-
#[unstable(feature = "rustc_private", issue = "0")]
132-
#[rustc_deprecated(since = "1.0.0", reason = "use into_iter")]
133-
pub fn move_iter(self) -> IntoIter<T> {
134-
self.into_iter()
135-
}
136-
137130
pub fn len(&self) -> usize {
138131
match self.repr {
139132
Zero => 0,

0 commit comments

Comments
 (0)