diff options
| author | Corey Farwell <coreyf@rwell.org> | 2017-05-11 00:21:24 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-05-11 00:21:24 -0400 |
| commit | a00e18205342e82db3216dc1ea942392aafe30eb (patch) | |
| tree | f346c620627bce19ec09a95eefb4df7ec861f683 /src/test/run-pass/thinlto | |
| parent | bb8d51c2ebe8d89c9cdcf06a9383d6e974efc5b6 (diff) | |
| parent | 72588a2b2a1af655b81fcd3c1c467707d9c237c2 (diff) | |
| download | rust-a00e18205342e82db3216dc1ea942392aafe30eb.tar.gz rust-a00e18205342e82db3216dc1ea942392aafe30eb.zip | |
Rollup merge of #41192 - zackw:eprintln, r=alexcrichton
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. Issues #39228 and #40528; previous PR #39229; accepted RFC rust-lang/rfcs#1869; proposed revision to The Book rust-lang/book#615. I have _not_ revised this any since the original submission; I will do that later this week. I wanted to get this PR in place since it's been quite a while since the RFC was merged. Known outstanding review comments: * [x] @steveklabnik requested a new chapter for the unstable version of The Book -- please see if the proposed revisions to the second edition cover it. * [x] @nodakai asked if it were possible to merge the internal methods `_print` and `_eprint` - not completely, since they both refer to different internal globals which we don't want to expose, but I will see if some duplication can be factored out. Please let me know if I missed anything.
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions
