We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07766f6 commit 4ab3bcbCopy full SHA for 4ab3bcb
8 files changed
src/doc/unstable-book/src/SUMMARY.md
@@ -130,8 +130,6 @@
130
- [derive_eq](library-features/derive-eq.md)
131
- [discriminant_value](library-features/discriminant-value.md)
132
- [error_type_id](library-features/error-type-id.md)
133
- - [eprint](library-features/eprint.md)
134
- - [eprint_internal](library-features/eprint-internal.md)
135
- [exact_size_is_empty](library-features/exact-size-is-empty.md)
136
- [fd](library-features/fd.md)
137
- [fd_read](library-features/fd-read.md)
@@ -180,7 +178,7 @@
180
178
- [peek](library-features/peek.md)
181
179
- [placement_in](library-features/placement-in.md)
182
- [placement_new_protocol](library-features/placement-new-protocol.md)
183
- - [print](library-features/print.md)
+ - [print_internals](library-features/print-internals.md)
184
- [proc_macro_internals](library-features/proc-macro-internals.md)
185
- [process_try_wait](library-features/process-try-wait.md)
186
- [question_mark_carrier](library-features/question-mark-carrier.md)
src/doc/unstable-book/src/library-features/eprint.md
…/src/library-features/eprint-internal.md …/src/library-features/print-internals.mdsrc/doc/unstable-book/src/library-features/eprint-internal.md renamed to src/doc/unstable-book/src/library-features/print-internals.md
@@ -1,4 +1,4 @@
1
-# `eprint_internal`
+# `print_internals`
2
3
This feature is internal to the Rust compiler and is not intended for general use.
4
src/doc/unstable-book/src/library-features/print.md
src/libstd/io/mod.rs
@@ -287,11 +287,11 @@ pub use self::error::{Result, Error, ErrorKind};
287
#[stable(feature = "rust1", since = "1.0.0")]
288
pub use self::util::{copy, sink, Sink, empty, Empty, repeat, Repeat};
289
290
-pub use self::stdio::{stdin, stdout, stderr, _print, Stdin, Stdout, Stderr};
+pub use self::stdio::{stdin, stdout, stderr, Stdin, Stdout, Stderr};
291
292
pub use self::stdio::{StdoutLock, StderrLock, StdinLock};
293
-#[unstable(feature = "eprint", issue="40528")]
294
-pub use self::stdio::_eprint;
+#[unstable(feature = "print_internals", issue = "0")]
+pub use self::stdio::{_print, _eprint};
295
#[unstable(feature = "libstd_io_internals", issue = "0")]
296
#[doc(no_inline, hidden)]
297
pub use self::stdio::{set_panic, set_print};
src/libstd/io/stdio.rs
@@ -692,15 +692,15 @@ fn print_to<T>(args: fmt::Arguments,
692
}
693
694
695
-#[unstable(feature = "print",
+#[unstable(feature = "print_internals",
696
reason = "implementation detail which may disappear or be replaced at any time",
697
issue = "0")]
698
#[doc(hidden)]
699
pub fn _print(args: fmt::Arguments) {
700
print_to(args, &LOCAL_STDOUT, stdout, "stdout");
701
702
703
-#[unstable(feature = "eprint_internal",
704
705
706
src/libstd/macros.rs
@@ -143,7 +143,7 @@ macro_rules! println {
143
///
144
/// Panics if writing to `io::stderr` fails.
145
#[macro_export]
146
+#[stable(feature = "eprint", since="1.18.0")]
147
#[allow_internal_unstable]
148
macro_rules! eprint {
149
($($arg:tt)*) => ($crate::io::_eprint(format_args!($($arg)*)));
@@ -162,7 +162,7 @@ macro_rules! eprint {
162
163
164
165
166
macro_rules! eprintln {
167
() => (eprint!("\n"));
168
($fmt:expr) => (eprint!(concat!($fmt, "\n")));
src/test/run-pass/print-stdout-eprint-stderr.rs
@@ -8,8 +8,6 @@
8
// option. This file may not be copied, modified, or distributed
9
// except according to those terms.
10
11
-#![feature(eprint)]
12
-
13
use std::{env, process};
14
15
fn child() {
0 commit comments