X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=library%2Fstd%2Fsrc%2Ffs.rs;h=431a1efc8d1f64d4e7f3d56e9f3b31e3a0728295;hb=98a8035bedd2c660912d1e6ecfe86c895e588feb;hp=369a251696e0b5f8aac47b6967308a7f53e89797;hpb=30046ce1fe8d00e576cc7b91404c7cf79aaa5a3b;p=rust.git diff --git a/library/std/src/fs.rs b/library/std/src/fs.rs index 369a251696e..431a1efc8d1 100644 --- a/library/std/src/fs.rs +++ b/library/std/src/fs.rs @@ -1851,10 +1851,10 @@ pub fn hard_link, Q: AsRef>(original: P, link: Q) -> io::Re /// } /// ``` #[stable(feature = "rust1", since = "1.0.0")] -#[rustc_deprecated( +#[deprecated( since = "1.1.0", - reason = "replaced with std::os::unix::fs::symlink and \ - std::os::windows::fs::{symlink_file, symlink_dir}" + note = "replaced with std::os::unix::fs::symlink and \ + std::os::windows::fs::{symlink_file, symlink_dir}" )] pub fn soft_link, Q: AsRef>(original: P, link: Q) -> io::Result<()> { fs_imp::symlink(original.as_ref(), link.as_ref())