]> git.lizzy.rs Git - rust.git/blobdiff - library/std/src/os/redox/fs.rs
Rollup merge of #95632 - evanrichter:master, r=joshtriplett
[rust.git] / library / std / src / os / redox / fs.rs
index 0f179c8b837dd8708a584aa45338c38770ec9c07..682ca6a2c0309f103b45105b30e2d7438b83fdc5 100644 (file)
@@ -34,10 +34,10 @@ pub trait MetadataExt {
     /// }
     /// ```
     #[stable(feature = "metadata_ext", since = "1.1.0")]
-    #[rustc_deprecated(
+    #[deprecated(
         since = "1.8.0",
-        reason = "deprecated in favor of the accessor \
-                  methods of this trait"
+        note = "deprecated in favor of the accessor \
+                methods of this trait"
     )]
     #[allow(deprecated)]
     fn as_raw_stat(&self) -> &raw::stat;