]> git.lizzy.rs Git - rust.git/blobdiff - library/std/src/os/illumos/fs.rs
Auto merge of #96605 - Urgau:string-retain-codegen, r=thomcc
[rust.git] / library / std / src / os / illumos / fs.rs
index 021d154ff5a8a6e7dd75aae9ecc514297187866f..63be48b8131b249b23e059ef7d41d040674fdc00 100644 (file)
@@ -18,9 +18,9 @@ pub trait MetadataExt {
     /// Unix platforms. The `os::unix::fs::MetadataExt` trait contains the
     /// cross-Unix abstractions contained within the raw stat.
     #[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;