about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbstrie <865233+bstrie@users.noreply.github.com>2021-03-16 17:17:41 -0400
committerbstrie <865233+bstrie@users.noreply.github.com>2021-03-16 17:43:33 -0400
commitcad3c4241d2f2ebbe5a5924d2e93e670d5b9a35a (patch)
tree1c8a75ef71771c05387c49291c733d7770209c19
parent1d6754d6eb1ac349477760a2afcd51cf75ac1a1c (diff)
downloadrust-cad3c4241d2f2ebbe5a5924d2e93e670d5b9a35a.tar.gz
rust-cad3c4241d2f2ebbe5a5924d2e93e670d5b9a35a.zip
Deprecate std::os::haiku::raw
-rw-r--r--library/std/src/os/haiku/raw.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/library/std/src/os/haiku/raw.rs b/library/std/src/os/haiku/raw.rs
index 0d7e70b6b35..48117d288ae 100644
--- a/library/std/src/os/haiku/raw.rs
+++ b/library/std/src/os/haiku/raw.rs
@@ -1,6 +1,13 @@
 //! Haiku-specific raw type definitions
 
 #![stable(feature = "raw_ext", since = "1.1.0")]
+#![rustc_deprecated(
+    since = "1.53.0",
+    reason = "these type aliases are no longer supported by \
+              the standard library, the `libc` crate on \
+              crates.io should be used instead for the correct \
+              definitions"
+)]
 #![allow(deprecated)]
 
 use crate::os::raw::c_long;