]> git.lizzy.rs Git - rust.git/blobdiff - library/std/src/env.rs
Rollup merge of #97355 - GuillaumeGomez:remove-brush, r=Dylan-DPC
[rust.git] / library / std / src / env.rs
index e287a93da7b03ed837fd3cc7c09dbd5b6432dfdf..4027a71a06c5f56b0979aa8593a7be4b01cbc32f 100644 (file)
@@ -577,10 +577,10 @@ fn description(&self) -> &str {
 ///     None => println!("Impossible to get your home dir!"),
 /// }
 /// ```
-#[rustc_deprecated(
+#[deprecated(
     since = "1.29.0",
-    reason = "This function's behavior is unexpected and probably not what you want. \
-              Consider using a crate from crates.io instead."
+    note = "This function's behavior is unexpected and probably not what you want. \
+            Consider using a crate from crates.io instead."
 )]
 #[must_use]
 #[stable(feature = "env", since = "1.0.0")]