diff options
| author | Simon Sapin <simon.sapin@exyr.org> | 2021-04-15 02:25:40 +0200 |
|---|---|---|
| committer | Simon Sapin <simon.sapin@exyr.org> | 2021-04-15 02:32:33 +0200 |
| commit | b80a96c286628453dec50b9609570949d5d387a9 (patch) | |
| tree | 9a6bde64d1d4ac7610eda163d62230a3489fe85f /library/std/src | |
| parent | 16bf626a31cb5b121d0bca2baa969b4f67eb0dab (diff) | |
| download | rust-b80a96c286628453dec50b9609570949d5d387a9.tar.gz rust-b80a96c286628453dec50b9609570949d5d387a9.zip | |
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
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs index 90603cd9836..39280f569c4 100644 --- a/library/std/src/lib.rs +++ b/library/std/src/lib.rs @@ -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; |
