]> git.lizzy.rs Git - rust.git/commitdiff
remove deprecated APIs missed in #30182
authorTamir Duberstein <tamird@gmail.com>
Sat, 12 Dec 2015 12:55:28 +0000 (07:55 -0500)
committerTamir Duberstein <tamird@gmail.com>
Sun, 13 Dec 2015 06:02:12 +0000 (01:02 -0500)
src/libstd/fs.rs
src/libsyntax/ext/base.rs
src/libsyntax/util/small_vector.rs

index 25a05efd0266640bd47249708b65ce2f0887d13a..715749f50d4e4c4c57b66ca590b3d800905d2402 100644 (file)
@@ -923,10 +923,10 @@ pub fn hard_link<P: AsRef<Path>, Q: AsRef<Path>>(src: P, dst: Q) -> io::Result<(
 /// # Ok(())
 /// # }
 /// ```
 /// # 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}")]
 #[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())
 }
 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())
 }
index 3b613922bc947f89a7081ad79513aefc5fca0850..22315454f89070ce6754c5e482557cff1333fed9 100644 (file)
@@ -601,13 +601,6 @@ pub fn new(parse_sess: &'a parse::ParseSess, cfg: ast::CrateConfig,
         }
     }
 
         }
     }
 
-    #[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)
     /// 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)
index ee183d7f3e96a3455f024fa33c0fdd65b5062ded..8b07b21c578c9e05c46e6d6cbbb1db0f48ac3fd5 100644 (file)
@@ -127,13 +127,6 @@ pub fn expect_one(self, err: &'static str) -> 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,
     pub fn len(&self) -> usize {
         match self.repr {
             Zero => 0,