]> git.lizzy.rs Git - rust.git/commit
Add `eprint!` and `eprintln!` macros to the prelude.
authorZack Weinberg <zackw@panix.com>
Sat, 21 Jan 2017 18:38:11 +0000 (13:38 -0500)
committerZack Weinberg <zackw@panix.com>
Wed, 10 May 2017 13:29:16 +0000 (09:29 -0400)
commit76127275a09d970169952bcf616f966faa9ed6db
treedef3a13636f3b6fa69cc4cf4fe7782da05994082
parent2b97174ada7fb1854269558ed2cf3b089e58beee
Add `eprint!` and `eprintln!` macros to the prelude.

These are exactly the same as `print!` and `println!` except that
they write to stderr instead of stdout.  Issue #39228.
src/libstd/io/mod.rs
src/libstd/io/stdio.rs
src/libstd/macros.rs
src/test/run-pass/print-stdout-eprint-stderr.rs [new file with mode: 0644]