about summary refs log tree commit diff
path: root/library/alloc/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-04-20 21:11:54 +0000
committerbors <bors@rust-lang.org>2023-04-20 21:11:54 +0000
commit8bdcc62cb0362869f0e7b43a6ae4f96b953d3cbc (patch)
tree3a5864a46c8a3dd6814b76d64dd3f79d77bfaae1 /library/alloc/src
parent3d7a091c647ef8644bfa8487434d27c9c02aa59a (diff)
parentbd917bbcd272c3f9b02bb07a6231860448c8d530 (diff)
Auto merge of #110616 - m-ou-se:fmt-lang-items, r=jyn514
Remove public doc(hidden) core::fmt::rt::v1

All the types used by format_arg!() are now lang items, so they are no longer required as publicly exported items.

Part of #99012

After this change, the `rt` module is private, and contains only three lang items used by format_args (`Placeholder`, `Alignment`, and `Count`): https://github.com/rust-lang/rust/blob/441682cca9a32314835a88fa981a3bf13ffb0aa8/library/core/src/fmt/rt.rs
Diffstat (limited to 'library/alloc/src')
-rw-r--r--library/alloc/src/fmt.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/library/alloc/src/fmt.rs b/library/alloc/src/fmt.rs
index 1da86e1a46a..e03b501ae4d 100644
--- a/library/alloc/src/fmt.rs
+++ b/library/alloc/src/fmt.rs
@@ -551,8 +551,6 @@
 
 #![stable(feature = "rust1", since = "1.0.0")]
 
-#[unstable(feature = "fmt_internals", issue = "none")]
-pub use core::fmt::rt;
 #[stable(feature = "fmt_flags_align", since = "1.28.0")]
 pub use core::fmt::Alignment;
 #[stable(feature = "rust1", since = "1.0.0")]