1
Fork 0

Deprecate the core::raw / std::raw module

It only contains the `TraitObject` struct which exposes components
of wide pointer. Pointer metadata APIs are designed to replace this:
https://github.com/rust-lang/rust/issues/81513
This commit is contained in:
Simon Sapin 2021-04-15 02:25:40 +02:00
parent 16bf626a31
commit b80a96c286
2 changed files with 5 additions and 0 deletions

View file

@ -456,6 +456,7 @@ pub use core::pin;
#[stable(feature = "rust1", since = "1.0.0")]
pub use core::ptr;
#[stable(feature = "rust1", since = "1.0.0")]
#[allow(deprecated_in_future)]
pub use core::raw;
#[stable(feature = "rust1", since = "1.0.0")]
pub use core::result;